Confused about /var/www contexts
Jason L Tibbitts III
tibbs at math.uh.edu
Wed May 28 01:33:50 UTC 2008
I'm trying to understand why, on an updated F8 machine with
doesn't end up as httpd_sys_script_exec_t.
semanage fcontext -l says (among many other lines, of course):
/var/www/[^/]*/cgi-bin(/.*)? all files system_u:object_r:httpd_sys_script_exec_t:s0
> sudo restorecon -R -v /var/www
> ls -lZ /var/www/blah
drwxr-xr-x root root unconfined_u:object_r:httpd_sys_content_t:s0 cgi-bin/
Am I misinterpreting the semanage output above? Is it possible that
the following line, which appears earlier in the semanage output, is overriding?
/var/www(/.*)? all files system_u:object_r:httpd_sys_content_t:s0
More information about the fedora-selinux-list