Hide Forgot
I believe there is a typo in http://docs.fedoraproject.org/en-US/Fedora/13/html/SELinux_FAQ/index.html#faq-entry-public_html I think there is a newline missing from the example which reads: ls -Z -d public_html/ drwxrwxr-x auser auser user_u:object_r:user_home_t public_html - chcon -R -t httpd_user_content_t public_html/ ls -Z -d public_html/ drwxrwxr-x auser auser user_u:object_r:httpd_user_content_t public_html/ ls -Z public_html/ -rw-rw-r-- auser auser user_u:object_r:httpd_user_content_t bar.html -rw-rw-r-- auser auser user_u:object_r:httpd_user_content_t baz.html -rw-rw-r-- auser auser user_u:object_r:httpd_user_content_t foo.html The 3rd line above should actually become the 3rd and 4th lines. It should read: ls -Z -d public_html/ drwxrwxr-x auser auser user_u:object_r:user_home_t public_html + chcon -R -t httpd_user_content_t public_html/ + ls -Z -d public_html/ drwxrwxr-x auser auser user_u:object_r:httpd_user_content_t public_html/ ls -Z public_html/ -rw-rw-r-- auser auser user_u:object_r:httpd_user_content_t bar.html -rw-rw-r-- auser auser user_u:object_r:httpd_user_content_t baz.html -rw-rw-r-- auser auser user_u:object_r:httpd_user_content_t foo.html
The Selinux FAQ looks to be deprecated and replaced by the SELinux User's and Administrator's Guide. Fixing this really old guide does not look to be necessary due to the SELinux User's and Administrator's Guide being kept current.