You are here

function FileTransferChmodInterface::chmodJailed in Drupal 7

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 includes/filetransfer/ftp.inc
Changes the permissions of the file / directory specified in $path
FileTransferLocal::chmodJailed in includes/filetransfer/local.inc
Changes the permissions of the file / directory specified in $path
FileTransferSSH::chmodJailed in includes/filetransfer/ssh.inc
Changes the permissions of the file / directory specified in $path

File

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);