3 namespace Drupal\Core\FileTransfer;
6 * Defines an interface to chmod files.
8 interface ChmodInterface {
11 * Changes the permissions of the file / directory specified in $path
14 * Path to change permissions of.
16 * The new file permission mode to be passed to chmod().
17 * @param bool $recursive
18 * Pass TRUE to recursively chmod the entire directory specified in $path.
20 * @see http://php.net/chmod
22 public function chmodJailed($path, $mode, $recursive);