public function S3fsStreamWrapper::chmod in S3 File System 7.2
Same name and namespace in other branches
- 7.3 S3fsStreamWrapper.inc \S3fsStreamWrapper::chmod()
- 7 S3fsStreamWrapper.inc \S3fsStreamWrapper::chmod()
This wrapper doesn't support file permissions.
Parameters
int $mode: The file's desired permissions in octal. Consult PHP chmod() documentation for more information.
Return value
bool Always returns TRUE.
Overrides DrupalStreamWrapperInterface::chmod
File
- ./
S3fsStreamWrapper.inc, line 534 - 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;
}