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:
Reassigning to component policycoreutils which owns /etc/selinux/restorecond.conf Thanks & regards, Phil
Fixed in policycoreutils-1.33.12-14.4.el5.src.rpm
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