FILE_MODIFY_PERMISSIONS

Same name in other branches
  1. 8.9.x core/includes/file.inc \FILE_MODIFY_PERMISSIONS

Flag used by file_prepare_directory() -- file permissions may be changed.

Related topics

6 uses of FILE_MODIFY_PERMISSIONS
DrupalUnitTestCase::setUp in modules/simpletest/drupal_web_test_case.php
Sets up unit test environment.
DrupalWebTestCase::prepareEnvironment in modules/simpletest/drupal_web_test_case.php
Prepares the current environment for running the test.
FileDirectoryTest::testFileCheckDirectoryHandling in modules/simpletest/tests/file.test
Test directory handling functions.
file_prepare_directory in includes/file.inc
Checks that the directory exists and is writable.
image_install in modules/image/image.install
Implements hook_install().

... See full list

File

includes/file.inc, line 46

Code

define('FILE_MODIFY_PERMISSIONS', 2);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.