Forum Moderators: bakedjake
chgrp adm /path/to/glogg
chmod 02755 /path/to/gloggWhenever the executable starts, the effective group of the process will be set to the group adm, and because most log files have that group as owner, the process will be able to read them.
/varlog/apache2/ (logs load ok)
-rw-r----- 1 root adm 20087829 Apr 17 09:33 error.log
-rw-r----- 1 root adm 1468373 Apr 17 09:33 other_vhosts_access.log
/varlog/apache2/ern (logs load not ok)
drwxr-xr-x 2 root adm 4096 Apr 11 00:00 ern
/var/log/apache2/ern:
-rw-r----- 1 root adm 92871 Apr 17 06:59 access.log