root root system_u: object_r:httpd_sys_content_t:sO convenience.map Identify two commands that will resolve the 403- Forbidden errors.

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.

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



Leave a Reply 2

Your email address will not be published. Required fields are marked *