>On one machine I can not get the mail.cgi to work  from the web browser
>unless I change to 644 from 640 on chmod on the maillogs.
>But it seems that when the logs rotate the permsissions go back to 640.
>root.wheel own the files.

in freebsd, newsyslog.conf allows you to specify the file mode:

# $FreeBSD: src/etc/newsyslog.conf,v 1.25.2.10 2002/05/24 15:40:09 gshapiro 
Exp $
#
# Note: some sites will want to select more restrictive protections than the
# defaults.  In particular, it may be desirable to switch many of the 644
# entries to 640 or 600.  For example, some sites will consider the
# contents of maillog, messages, and lpd-errs to be confidential.  In the
# future, these defaults may change to more conservative ones.
#
# logfilename          [owner:group]    mode count size when [ZJB] 
[/pid_file] [sig_num]
/var/log/cron                           600  3     100  *     Z
/var/log/amd.log                        644  7     100  *     Z
/var/log/auth.log                       600  7     100  *     Z
/var/log/kerberos.log                   600  7     100  *     Z

your OS log rotator must have something similar

Len



Reply via email to