Fix file permissions.
For directories use 755.
For files use 644.

http://browse-tutorials.com/snippet/give-permissions-recursively-files-o...

CommentFileSizeAuthor
#1 fix_file_permissions-2362131-1.patch247 bytesram4nd
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ram4nd’s picture

Status: Needs work » Needs review
FileSize
247 bytes
Deciphered’s picture

Status: Needs review » Needs work

According to https://www.drupal.org/node/244924 contrib project directories and files should actually be 750 and 640.

Hosted sites modules/themes directories: rwxr-x---
Hosted sites modules/themes files: rw-r-----

Regardless, the permissions are definitely wrong and need updating.

ram4nd’s picture

Status: Needs work » Needs review

Actually 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.

Deciphered’s picture

Status: Needs review » Fixed

Committed it regardless of what the actual documentation says, it's not a big enough issue to get hung up on.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.