1 drupal.inc drupal_chmod($uri, $mode = NULL)

Sets the permissions on a file or directory.

Deprecated

since 1.0.0

See also

backdrop_chmod()

Related topics

File

core/includes/drupal.inc, line 1628
Contains constants and function wrappers for Drupal 7.x compatibility.

Code

function drupal_chmod($uri, $mode = NULL) {
  watchdog_deprecated_function('drupal', __FUNCTION__);
  return backdrop_chmod($uri, $mode);
}