Bug 458687 - restorecond.conf does not include ~/web or ~/www
Summary: restorecond.conf does not include ~/web or ~/www
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: policycoreutils
Version: 5.2
Hardware: All
OS: Linux
medium
low
Target Milestone: rc
: ---
Assignee: Daniel Walsh
QA Contact: BaseOS QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-08-11 16:22 UTC by Eric Kjeldergaard
Modified: 2020-10-05 09:07 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-02 09:47:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2009:1292 0 normal SHIPPED_LIVE policycoreutils bug fix update 2009-09-01 10:01:30 UTC

Description Eric Kjeldergaard 2008-08-11 16:22:36 UTC
Description of problem:
restorecond.conf only defines ~/public_html (and not ~/web nor ~/www) though 
file_contexts.homedirs:/home/[^/]*/((www)|(web)|(public_html))(/.+)?	user_u:object_r:httpd_user_content_t:s0 is the default in rhel5.

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


How reproducible:
completely

Steps to Reproduce:
1. set up apache to use UserDir web
2. put directory web in /etc/skel
3. create directory
4. observe selinux-caused 403s
  
Actual results:
403

Expected results:
200

Additional info:

Comment 1 Phil Knirsch 2008-12-18 16:33:48 UTC
Reassigning to component policycoreutils which owns /etc/selinux/restorecond.conf

Thanks & regards, Phil

Comment 2 Daniel Walsh 2009-04-09 15:56:32 UTC
Fixed in policycoreutils-1.33.12-14.4.el5.src.rpm

Comment 10 errata-xmlrpc 2009-09-02 09:47:11 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2009-1292.html


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