Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Fix file permissions.
For directories use 755.
For files use 644.
http://browse-tutorials.com/snippet/give-permissions-recursively-files-o...
Comment | File | Size | Author |
---|---|---|---|
#1 | fix_file_permissions-2362131-1.patch | 247 bytes | ram4nd |
Comments
Comment #1
ram4nd CreditAttribution: ram4nd commentedComment #2
Deciphered CreditAttribution: Deciphered commentedAccording to https://www.drupal.org/node/244924 contrib project directories and files should actually be 750 and 640.
Regardless, the permissions are definitely wrong and need updating.
Comment #3
ram4nd CreditAttribution: ram4nd as a volunteer commentedActually you can take a look at core for an example. Permissions depend also on the users/groups. Typically apache and user who creates files are different, both user and group wise. Mostly you still need 644 and 755.
Comment #4
Deciphered CreditAttribution: Deciphered commentedCommitted it regardless of what the actual documentation says, it's not a big enough issue to get hung up on.