Setting proper file permissions before committing files

The Drupal project aims for consistency and correct values by default. The final permissions suggested for files are covered at great length in the security handbook. For files checked into the git repository on drupal.org, the standard is set forth by core of what permissions are appropriate.

Windows (IIS) settings.php notes

On a Windows computer using Internet Information Server (IIS), complete the following steps:

  1. Right-click sites\default\settings.php.
  2. Grant Write permissions to IUSR_MachineName (IIS6) or IUSR (IIS7).

Note: On Windows Server 2008, you can also do this from the command line by running the following command from your sites\default directory:

Subscribe with RSS Subscribe to RSS - file permissions