function FileTransferChmodInterface::chmodJailed

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

Parameters

string $path: Path to change permissions of.

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

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

3 methods override FileTransferChmodInterface::chmodJailed()
FileTransferFTPExtension::chmodJailed in drupal/includes/filetransfer/ftp.inc
Changes the permissions of the file / directory specified in $path
FileTransferLocal::chmodJailed in drupal/includes/filetransfer/local.inc
Changes the permissions of the file / directory specified in $path
FileTransferSSH::chmodJailed in drupal/includes/filetransfer/ssh.inc
Changes the permissions of the file / directory specified in $path

File

drupal/includes/filetransfer/filetransfer.inc, line 388

Class

FileTransferChmodInterface
A FileTransfer Class implementing this interface can be used to chmod files.

Code

function chmodJailed($path, $mode, $recursive);