Red Hat Bugzilla – Bug 376811
SELinux Blocking UserDir's With Apache
Last modified: 2008-01-30 14:18:35 EST
Description of problem:
When trying to set-up UserDir's with Apache, SELinux blocks it saying that I can
correct the problem using the command:
setsebool -P httpd_enable_homedirs=1
However, I still get a 403 Forbidden error despite having the correct
permissions set. Disabling SELinux solves the problem, so it is definitely
Using the SELinux Administration tool, I can see that under HTTPD Service,
"Allow HTTPD to read home directories" is set to true, yet it stil denies
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Set up Apache to use user's public_html folder as their webpage home.
2.Create a public_html directory inside and chmod to 755
3.run: setsebool -P httpd_enable_homedirs=1
4.try to access http://localhost/~username/
403 Forbidden error
Created attachment 254881 [details]
What the SETroucbleShoot Browser says on the matter.
Fixed in selinux-policy-3.0.8-52.fc8
Bulk closing all bugs in Fedora updates in the modified state. If you bug is
not fixed, please reopen.