Users report 403-Forbidden errors while accessing Apache manuals after you enabled SELinux.
Examine the contents of/var/www/manual:
# Is -Za /var/www/manual
drwxr-xr-x. root root system_u: object_r:httpd_sys_content_t:sO . drwxr-xr-x. root root system_u: object_r:httpd_sys_content_t:sO..
-rw-r-r-. root root system_u: object_r:user_home_t:sO bind.html -rw-r-r-. root root system_u: object_r:user_home_t:sO caching.html -rw-r-r-. root root system_u: object_r:user_home_t:sO configuring.html -rw-r-r-. root root system_u: object_r:user_home_t:sO content-negotiation.html -rw-r-r-. root root system_u: object_r:httpd_sys_content_t:sO convenience.map
Identify two commands that will resolve the 403- Forbidden errors.
A.
restorecon -R /var/www/manual
B.
fixfiles relabel /var/www/manual
C.
chcon -R -t httpd_sys_content_t /var/www/manual
D.
fixfiles check /var/www/manual
A,C (D is wrong)
A C
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Security-Enhanced_Linux/sect-Security-Enhanced_Linux-Working_with_SELinux-SELinux_Contexts_Labeling_Files.html