Change Drupal’s File Permissions for sites/default and settings.php

Change Drupal File Permissions

If you login to a new Drupal site and check your Status report screen, you may see this warning:

The directory sites/default is not protected from modifications and poses a security risk. You must change the directory’s permissions to be non-writable. The file sites/default/settings.php is not protected from modifications and poses a security risk. You must change the file’s permissions to be non-writable.

In this video from our Drupal Security class, Robert is going to show you how to fix this warning:

Instructor

  • Steve is the founder of OSTraining. Originally from the UK, he now lives in Sarasota in the USA. Steve's work straddles the line between teaching and web development.

0 0 votes
Blog Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x