Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 167236 - httpd unable to access public_html in home dir
httpd unable to access public_html in home dir
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Daniel Walsh
Depends On:
  Show dependency treegraph
Reported: 2005-08-31 16:04 EDT by Pavel Rosenboim
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-09-01 11:06:28 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Pavel Rosenboim 2005-08-31 16:04:12 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050720 Fedora/1.0.6-1.1.fc4 Firefox/1.0.6

Description of problem:
httpd gives error 403 (forbidden) when it tries to access public_html dir in user home directory. The "allow httpd to read home directories" checkbox in Security Level is checked. Everything works when selinux control over httpd is disabled (by unchecking the checkbox in Security Level Application). 

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Create public_html directory in users home dir.
2. Access the user's home dir with a browser

Actual Results:  403 forbidden error is reported and access denied error is logged in error_log file.

Expected Results:  access the directory

Additional info:
Comment 1 Ignacio Vazquez-Abrams 2005-08-31 16:07:15 EDT
You forgot to relabel the public_html directory as described in
Comment 2 Pavel Rosenboim 2005-08-31 16:12:27 EDT
Sorry. I missed that part in the FAQ.

Note You need to log in before you can comment on or make changes to this bug.