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 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 390

Class

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

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.