function ChmodInterface::chmodJailed

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

3 methods override ChmodInterface::chmodJailed()
FTPExtension::chmodJailed in drupal/core/lib/Drupal/Core/FileTransfer/FTPExtension.php
Implements Drupal\Core\FileTransfer\ChmodInterface::chmodJailed().
Local::chmodJailed in drupal/core/lib/Drupal/Core/FileTransfer/Local.php
Implements Drupal\Core\FileTransfer\ChmodInterface::chmodJailed().
SSH::chmodJailed in drupal/core/lib/Drupal/Core/FileTransfer/SSH.php
Implements Drupal\Core\FileTransfer\ChmodInterface::chmodJailed().

File

drupal/core/lib/Drupal/Core/FileTransfer/ChmodInterface.php, line 27
Definition of Drupal\Core\FileTransfer\ChmodInterface.

Class

ChmodInterface
Defines an interface to chmod files.

Namespace

Drupal\Core\FileTransfer

Code

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