httpd_enable_homedirs SELinux boolean does not prevent access to home directory
Issue
- Apaches permissions to serve content from a directory such as
/home/user/public_htmlcan not be influenced by performingsetsebool -P httpd_enable_homedirs off. Doing awget http://localhost/~user/index.htmlgets content from the apache either way.
Environment
- Red Hat Enterprise Linux 7
- selinux-policy
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
