Question 1
httpd returns 403 when serving /srv/reports/status.html on a RHEL server. Apache access directives and ordinary file permissions have been checked and permit access. The audit log records a read denial from httpd_t to a file labeled var_t. A persistent file-context rule for /srv/reports(/.*)? already specifies httpd_sys_content_t, but ls -Z still shows var_t on the existing file. SELinux must remain enforcing. What remains to be done?
Show answer & explanation
Correct answer: A - Run restorecon -Rv /srv/reports to apply the recorded file-context rule.