Permission denied for public_html
Paul Howarth
paul at city-fan.org
Mon Nov 6 09:05:07 UTC 2006
On Mon, 2006-11-06 at 01:31 -0500, Volker Englisch wrote:
> Hi,
>
> I recently installed FC6 on a x86_64 box and I was trying to modify
> SELinux so that I could use Samba and HTTP access to the public_html
> directory within the user home directories but can not get this to work.
> Whenever I'm accessing the user website via
> http://mydomain.us/~user
> I am getting a 403 Permission Denied error. However, everything is
> working OK when I turn of SELinux enforcement.
>
> I've followed these instructions
> http://fedora.redhat.com/docs/selinux-faq-fc5/#faq-entry-public_html
> to set up the public_html directories but I'm still getting the 403 error.
>
> Any suggestions on how to best trouble-shoot this problem?
Try these settings first:
# setsebool -P httpd_enable_homedirs 1
# setsebool -P samba_enable_home_dirs 1
Paul.
More information about the fedora-selinux-list
mailing list