Proper steps to enable /home/*/public_html on Fedora Core 3

Colin Walters walters at redhat.com
Wed Jun 15 20:49:01 UTC 2005


On Wed, 2005-06-15 at 13:29 -0700, Bob Kashani wrote:
> On Wed, 2005-06-15 at 12:52 -0400, Medina, Agenol wrote:
> > Hello,
> > 
> > I'm Agenol Medina.
> > 
> > I recently installed  FC3  and I cant get my /home/*/public_html directories  availble to thier owners.
> > 
> > I can do it with FC2 but since selinux is now in the picture, I dont know how to "activate" my /home/*/public_html directories.
> 
> restorecon -R /home/*/public_html

That works, although I tend to tell people to run chcon directly, as in:

chcon -R -h -t httpd_user_content_t /home/*/public_html

Since restorecon will only work for public_html.

Agenol, you might find this page useful too:

http://fedora.redhat.com/docs/selinux-apache-fc3/






More information about the fedora-selinux-list mailing list