Re: Permission denied for public_html

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

 



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.

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