Re: httpd and ~user/public_html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> "GWW" == G Wolfe Woodbury <ggw@xxxxxxxxxxxxxxxxxxx> 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<

--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-selinux-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux