Description of problem: Apache's UserDir does not work if SELinux set to Enforcing. How reproducible: Configure Apache UserDir. Switch SELinux Enforcing/Permissive. Works when SELinux is set to Permissive. Does not work with Enforcing. Actual results: Apache does not serve from www.mysite.com/~user and "(13)permission denied. access to /~user denied." appears in /var/log/httpd/error_log Expected results: Apache serves from ~user/public_html Additional info:
Try chcon -R -t httpd_user_content_t ~USERNAME/public_html
This works for me. * Verify settings in httpd.conf * Verify file contexts (comment #1) * Verify directory perms for ~user and ~user/public_html -> NOTABUG