httpd and ~user/public_html
Jason L Tibbitts III
tibbs at math.uh.edu
Tue Sep 1 22:50:01 UTC 2009
>>>>> "GWW" == G Wolfe Woodbury <ggw at wolves.durham.nc.us> writes:
GWW> It seems to me that there should be a boolean to allow httpd to
GWW> serve files from ~user/public_html without complaint.
man httpd_selinux says:
SELinux policy for httpd can be setup to not allowed to access
users home directories. If you want to allow access to users
home directories you need to set the httpd_enable_homedirs
boolean and change the context of the files that you want people
to access off the home dir.
setsebool -P httpd_enable_homedirs 1
chcon -R -t httpd_sys_content_t ~user/public_html
- J<
More information about the fedora-selinux-list
mailing list