[CentOS] temp dir, httpd and selinux

Tue Oct 26 06:16:15 UTC 2010
Mathieu Baudier <mbaudier at argeo.org>

> 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

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