All httpd
logs must be owned by root user and group. By default,
the path for httpd logs is /var/log/httpd/
To properly set the owner of /var/log/httpd
, run the command:
$ sudo chown root /var/log/httpd
To properly set the owner of /var/log/httpd/*
, run the command:
$ sudo chown root /var/log/httpd/*