Newsyslog mode on /var/log/security?

Roger Olofsson 240olofsson at telia.com
Sun Mar 29 13:48:38 PDT 2009


Dear mailing list,

I seem to have forgotten something about /var/log/security and 
newsyslog.conf. I get wrong mode after the trim.

Excerpt from /etc/newsyslog.conf:
/var/log/security                       644  7     5000 *     JC

Output from newsyslog -vn:
chmod 600 /var/log/security.0.bz2

Why is the mode not 644?

/etc/rc.d/syslogd restart and newsyslog restart have been performed.

/R



More information about the freebsd-questions mailing list