Well, you can see the file context for /tmp with
ls -Z /tmp
For examply, in one of my servers:
# ls -Z /tmp/
-rw-r--r-- postgres postgres system_u:object_r:file_t pgpool_status
drwxrwxrwt root root system_u:object_r:initrc_tmp_t VMwareDnD
drwx------ root root system_u:object_r:initrc_tmp_t vmware-root
Remember that Apache by default doesn´t allow the CGI excecution, For
this, you can enable it with:
setsebool http_enable_cgi=on
El 6/28/2011 1:54 PM, m.roth(a)5-cent.us escribió:
I have a system that's creates a lot of temp files via http&
perl CGI
scripts. What is the correct context for the temp files?
mark
--
selinux mailing list
selinux(a)lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/selinux
--
Marcos Luís Ortíz Valmaseda
Software Engineer (UCI)
http://marcosluis2186.posterous.com
http://twitter.com/marcosluis2186