Skip to content

Making apache log files world readable

Just chmod the dir, and to make sure rotated files are also readable, change /etc/logrotate.d/apache2. The mask is defined in there.

/var/log/apache2/*.log {
        blablabla
        create 644 root adm
        blablabla
} 

No Comments ( Add comment / trackback )

Post a comment

(required)
(required)

Your email is never published nor shared.

(optional)
Allowed HTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>