Create a "files" directory for uploads
Last modified: November 10, 2009 - 03:23
After installing Drupal, it is helpful to have a writable directory so that you can upload your own content files. If you skip this step, you may get an error message stating that "sites/default/files does not exist ..."
Here’s how:
- Making a directory called 'files' in the sites/default folder.
- Assign write permissions to it with the following command (from the installation directory):
chmod -R a+wrx sites/default/filesor
chmod -R 777 sites/default/files Also, most FTP programs allow you to create the files directory and set its permissions. Be sure to give read, write, and execute permissions to everyone (777). FYI: chmod a+rwx is equivalent to chmod 777
