Oracle
1Z0-105 · Question #78
Users report 403-Forbidden errors while accessing Apache manuals after you enabled SELinux. Examine the contents of /var/www/manual: # ls -Za /var/www/manual drwxr-xr-x. root root system_u…
See the full explanation below for the reasoning.
Question
Users report 403-Forbidden errors while accessing Apache manuals after you enabled SELinux. Examine the contents of /var/www/manual: # ls -Za /var/www/manual drwxr-xr-x. root root system_u: object_r:httpd_sys_content_t:s0 . drwxr-xr-x. root root system_u: object_r:httpd_sys_content_t:s0 .. -rw-r--r--. root root system_u: object_r:user_home_t:s0 bind.html -rw-r--r--. root root system_u: object_r:user_home_t:s0 caching.html -rw-r--r--. root root system_u: object_r:user_home_t:s0 configuring.html -rw-r--r--. root root system_u: object_r:user_home_t:s0 content-negotiation.html -rw-r--r--. root root system_u: object_r:httpd_sys_content_t:s0 convenience.map Identify two commands that will resolve the 403-Forbidden errors.
Options
- Arestorecon -R /var/www/manual
- Bfixfiles relabel /var/www/manual
- Cchcon -R -t httpd_sys_content_t /var/www/manual
- Dfixfiles check /var/www/manual
Community Discussion
No community discussion yet for this question.