Permission denied for public_html
Volker Englisch
Volker at englisch.us
Tue Nov 7 15:53:00 UTC 2006
on 11/7/2006 6:16 AM Paul Howarth 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
>> ...
>>
>>
>> From all that I know everything looks good but maybe someone else can
>> see what is wrong with my setup.
>
> It looks to me that /home/kate is user_home_t instead of
> user_home_dir_t. Fixing that should help.
>
> Paul.
That's it. After changing the context for /home/kate to user_home_dir_t
things started working again.
Thanks to everyone for your help!
Volker Englisch
More information about the fedora-selinux-list
mailing list