Search code examples
linuxdrupalfile-permissions

Drupal 7 Install on Redhat w/ Apache - sites/default/files is not writable


I have spent numerous hours on an issue that has left me puzzled. I am attempting to install Drupal on Linux Redhat using apache, but it will not allow me to pass step 3 due to the fact that sites/default/files is not writable.

I have followed the instructions on Drupal's site, in their install.txt file as well as the instructions of others who have had the same error with no success.

I have granted permissions access all different ways root:root 777, root:apache 777, I have verified that apache is the user running the apache process and I am still stuck.

Note: I was able to complete the install on windows.

Any new ideas?


Solution

  • Okay, so after following directions from both official and non-official web sources, the one thing that was never instructed to do or try was to reboot the application AFTER making permission changes to the files directory. I tried it, and this solved the issue.

    This is weird because I've never had to reboot an OS after making permission changes on a directory. Additionally I did restart httpd after each change thinking that would be sufficient. Hopefully this can help anyone else running Redhat 7 with the same issue.

    Thanks, TH