What causes 'sites/default/files is not writable' during Drupal 7 Install on Redhat w/ Apache? 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.org, in their install.txt file as well as the instructions from others who have had the same error with no success.

I have granted permissions access all different ways, i.e.: root:root 777, root:apache 777.

I have also verified that Apache is the user running the Apache process, but I am still stuck.

Notes:


I have granted the user 'apache' 777 rights to the files folder with no luck.
I verified the user 'apache' is in fact the user running apache.
I was able to complete the installation of Drupal on Windows.


Any new ideas?
I thought this would be a SElinux issue with security and I am a bit surprised that your solution worked.

For users with the "common" error, use the following command to provide apache with access despite SElinux security.

chcon -R -t httpd_sys_content_rw_t yoursite/sites/default/files/