Skip to Content

Drupal File Permissions

What are drupal's recommended file permissions?

According to the drupal documentation:

File Permissions in a Nutshell

/default on 755
/default/files including all subfolders and files on 744 (or 755)
/default/themes including all subfolders and files on 755
/default/modules including all subfolders and files on 755
/default/settings.php and /default/default.settings.php on 444

  • 755 is shorthand for 'rwxr-xr-x'. Translation: full access for the owner, everyone else has read and execute access
  • 664 is shorthand for 'rw-rw-r--'. Translation: the owner and the group get read and write access, all other users get read access.

Be sure to take a look at the documentation over on drupal.org for tons more information.  


Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <caption> <tbody> <tr> <td> <em> <b> <u> <i> <strong> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <embed> <object> <param> <strike>
  • Lines and paragraphs break automatically.

More information about formatting options