BreakingExpress

A sysadmin’s information to SELinux

Jun 14 19:41:07 web1 setroubleshoot: SELinux is stopping httpd from getattr entry on the file /var/www/html/index.html. For full message run: sealert -l 12fd8b04-0119-4077-a710-2d0e0ee5755e

# sealert -l 12fd8b04-0119-4077-a710-2d0e0ee5755e
SELinux is stopping httpd from getattr entry on the file /var/www/html/index.html.

***** Plugin restorecon (99.5 confidence) suggests ************************

If you wish to repair the label,
/var/www/html/index.html default label needs to be httpd_syscontent_t.
Then you may restorecon.
Do
# /sbin/restorecon -v /var/www/html/index.html

Exit mobile version