Mwnci chmod() Function

Syntax

chmod(filename, mode)

Description

The chmod() function changes the mode of the named file to mode. If the file is a symbolic link, it changes the mode of the link’s target

Example

chmod("/home/mwnci/file", "755")