Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ChmodInterface.php

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 core/lib/Drupal/Core/FileTransfer/FTPExtension.php
Changes the permissions of the file / directory specified in $path.
Local::chmodJailed in core/lib/Drupal/Core/FileTransfer/Local.php
Changes the permissions of the file / directory specified in $path.
SSH::chmodJailed in core/lib/Drupal/Core/FileTransfer/SSH.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\FileTransfer

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal