[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Does Debian change permissions automatically??



> > As a regular user (not root) I want to be able to do a 'tail -f
> > /var/log/messages' whenever I dialup my ISP.  This is all set up fine
> > but there is a recurring permissions problem:  every time I reboot,
> > *something* changes the group permissions of /var/log/messages 
> > FROM:
> > -rw-r-----    1 root     adm        225523 May 18 13:15 /var/log/messages
> >                          ^^^
> > BACK TO:
> > -rw-r-----    1 root     root       225523 May 18 13:15 /var/log/messages
> >                          ^^^^
> > I chgrp back to adm, and something changes it back to root, etc.
> > 

AFAIK only /etc/cron.weekly/sysklogd touches /var/log/messages. 

check that this file contains this line (or something similar):
        savelog -g adm -m 640 -u root -c 4 $LOG >/dev/null
                  ^^^^^

also:
 man syslogd-listfiles && man savelog


Iwan.



Reply to: