public function ChmodInterface::chmodJailed in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/FileTransfer/ChmodInterface.php \Drupal\Core\FileTransfer\ChmodInterface::chmodJailed()
- 9 core/lib/Drupal/Core/FileTransfer/ChmodInterface.php \Drupal\Core\FileTransfer\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
1 method overrides ChmodInterface::chmodJailed()
- Local::chmodJailed in core/
lib/ Drupal/ Core/ FileTransfer/ Local.php - Changes the permissions of the file / directory specified in $path.
File
- core/
lib/ Drupal/ Core/ FileTransfer/ ChmodInterface.php, line 22
Class
- ChmodInterface
- Defines an interface to chmod files.
Namespace
Drupal\Core\FileTransferCode
public function chmodJailed($path, $mode, $recursive);