Changes between Initial Version and Version 1 of faq/drupal/sites-permission-denied


Ignore:
Timestamp:
Feb 25, 2010, 2:43:33 PM (15 years ago)
Author:
Jamie McClelland
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • faq/drupal/sites-permission-denied

    v1 v1  
     1= Why can't I create a file or folder in my Drupal sites/default directory? =
     2
     3The Drupal installer, by default, sets the permissions on your sites/default folder to read-only (apparently in an effort at improved security).
     4
     5If you want to add a files directory or a civicrm.settings.php file in this directory, you will need to change the permissions so that the owner of the directory can write to it.
     6
     7You can do this via your [wiki:sftp sftp client] by using your clients "chmod" or "change mode" command (how to do this varies by client - try right clicking on the folder and selecting chmod from the context menu).
     8
     9You do ''not'' need to be make it writable by everyone. Only make it writable by the owner.
     10
     11You can also make this change via the command line ([wiki:secure_shell ssh]) by issuing the command:
     12
     13{{{
     14chmod u+w path/to/web/sites/default
     15}}}