public function S3fsStreamWrapper::chmod in S3 File System 7
Same name and namespace in other branches
- 7.3 S3fsStreamWrapper.inc \S3fsStreamWrapper::chmod()
- 7.2 S3fsStreamWrapper.inc \S3fsStreamWrapper::chmod()
Changes permissions of the resource.
This wrapper doesn't support the concept of filesystem permissions.
Parameters
int $mode: Integer value for the permissions. Consult PHP chmod() documentation for more information.
Return value
bool Returns TRUE.
Overrides DrupalStreamWrapperInterface::chmod
File
- ./
S3fsStreamWrapper.inc, line 465 - Drupal stream wrapper implementation for S3 File System.
Class
- S3fsStreamWrapper
- The stream wrapper class.
Code
public function chmod($mode) {
$this
->_assert_constructor_called();
$octal_mode = decoct($mode);
$this
->_debug("chmod({$octal_mode}) called. S3fsStreamWrapper does not support this function.");
return TRUE;
}