Permission denied for public_html

John Griffiths fedora at grifent.com
Mon Nov 6 19:08:33 UTC 2006


> Subject:
> Re: Permission denied for public_html
> From:
> Volker Englisch <Volker at englisch.us>
> Date:
> Mon, 06 Nov 2006 09:18:42 -0500
> To:
> Paul Howarth <paul at city-fan.org>
>
> To:
> Paul Howarth <paul at city-fan.org>
> CC:
> fedora-selinux-list at redhat.com
>
>
> On 11/06/2006 04:05 AM Paul Howarth wrote:
>> Try these settings first:
>>
>> # setsebool -P httpd_enable_homedirs 1
>> # setsebool -P samba_enable_home_dirs 1
>>
>> Paul.
>>
>
> I had set these values in order to get samba to work.  In fact, at 
> some point I thought I did have both samba and http access to the 
> public_html directory working but when I made additional changes 
> trying to allow a cgi script to write to a directory I must have 
> messed up the access to the user websites.
>
The context of the directory has to be public_content_rw_t for both 
Samba and httpd to access it.

Regards,
John Griffiths
> By the way, access to the main website
>   http://mydomain.us/
> works without problems.
>
> Thanks
>
>     Volker Englisch
>
>
> ------------------------------------------------------------------------
>
> --
> fedora-selinux-list mailing list
> fedora-selinux-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-selinux-list




More information about the fedora-selinux-list mailing list