[CentOS] temp dir, httpd and selinux

Mathieu Baudier mbaudier at argeo.org
Tue Oct 26 02:16:15 EDT 2010


> How should i do ?

You probably need to use chcon to change the SELinux context of the
temp directory to httpd_sys_content_t (or something like
httpd_<specific>_script_rw_t).

In order to troubleshoot:
- switch SELinux to permissive mode
- perform your actions (they should now work, and the SELinux issues
will be written in the audit log)
- run sealert -a on the /var/log/audit/audit.log file, it will give
you hint on how to fix it


More information about the CentOS mailing list