Re: Permission denied for public_html

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

 



on 11/6/2006 4:34 PM John Griffiths said the following:
And the output from the /var/log/messages file when accessing the web page:
...
Nov 6 14:48:27 kepler kernel: audit(1162842507.522:72017): avc: denied { search } for pid=31270 comm="httpd" name="kate" dev=sda5 ino=14942209 scontext=user_u:system_r:httpd_t:s0 tcontext=user_u:object_r:user_home_t:s0 tclass=dir Nov 6 14:48:27 kepler kernel: audit(1162842507.522:72018): avc: denied { getattr } for pid=31270 comm="httpd" name="kate" dev=sda5 ino=14942209 scontext=user_u:system_r:httpd_t:s0 tcontext=user_u:object_r:user_home_t:s0 tclass=dir
...

The context is showing up as user_home_t , not public_content_rw_t. When you changed the context, did you only do the directory or recursively so the contents also got the context?

Yes, I did it recursively using
   chcon -R -t public_content_rw_t /home/kate/public_html


Thanks

   Volker Englisch

--
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