i’m asking what’s the best linux permission to drupal files in the purpose to secure it.
My setting.php is under 444 but the others are 755 .
Thank you
i’m asking what’s the best linux permission to drupal files in the purpose to
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
440 is fine for the settings file. For the others do:
Navigate to sites/default folder:
Then give you and web server read/write permission to files folder (‘s’ makes the files inside the directory inherit these permissions.)
If you need to overwrite previous created files’ permissions do (navigate to sites/default/files):
Now your web server can read/write but not execute files in the files directory.