Permission denied for public_html
Volker Englisch
Volker at englisch.us
Mon Nov 6 21:52:35 UTC 2006
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
More information about the fedora-selinux-list
mailing list