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, tools, and much more.