drupal_chmod
function drupal_chmod
drupal_chmod($uri, $mode = NULL)
Sets the permissions on a file or directory.
Deprecated
in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. Use \Drupal\Core\File\FileSystem::chmod().
Related topics
- File interface
- Common file handling functions.
File
- core/