interface ChmodInterface (View source)

Defines an interface to chmod files.

Methods

chmodJailed(string $path, int $mode, bool $recursive)

Changes the permissions of the file / directory specified in $path.

Details

chmodJailed(string $path, int $mode, bool $recursive)

Changes the permissions of the file / directory specified in $path.

Parameters

string $path

Path to change permissions of.

int $mode

The new file permission mode to be passed to chmod().

bool $recursive

Pass TRUE to recursively chmod the entire directory specified in $path.

See also

http://php.net/chmod