For UNIX systems.
public setPermissions ( string $permissions, boolean $recursive = False ) : CFile | boolean | ||
$permissions | string | New filesystem object permissions in numeric (octal, i.e. '0755') format |
$recursive | boolean | Apply permissions to directory contents flag. |
return | CFile | boolean | Current CFile object on success, 'False' on fail. |