Subject: misc/30717: newsyslog.conf has wrong mode for /var/log/wtmp{,x}
To: None <misc-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <j+nbsd@2005.salmi.ch>
List: netbsd-bugs
Date: 07/11/2005 07:01:00
>Number:         30717
>Category:       misc
>Synopsis:       newsyslog.conf has wrong mode for /var/log/wtmp{,x}
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 11 07:01:00 +0000 2005
>Originator:     Jukka Salmi
>Release:        NetBSD 3.99.7
>Environment:
System: NetBSD moray.salmi.ch 3.99.7 NetBSD 3.99.7 (GENERIC) #0: Sat Jul 9 10:00:02 CEST 2005 build@moray.salmi.ch:/build/nbsd/i386/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
src/etc/Makefile and src/etc/newsyslog.conf have different file modes for
/var/log/wtmp{,x}.
>How-To-Repeat:
n/a
>Fix:
Index: etc/newsyslog.conf
===================================================================
RCS file: /cvsroot/src/etc/newsyslog.conf,v
retrieving revision 1.19
diff -u -r1.19 newsyslog.conf
--- etc/newsyslog.conf	5 Jun 2005 07:33:17 -0000	1.19
+++ etc/newsyslog.conf	11 Jul 2005 06:56:25 -0000
@@ -11,6 +11,6 @@
 /var/log/lpd-errs			640  7    100  *    Z
 /var/log/maillog			600  7    *    24   Z
 /var/log/messages			644  10   250  *    Z
-/var/log/wtmp		root:utmp	644  7    *    168  ZBN
-/var/log/wtmpx		root:utmp	644  7    *    168  ZBN
+/var/log/wtmp		root:utmp	664  7    *    168  ZBN
+/var/log/wtmpx		root:utmp	664  7    *    168  ZBN
 /var/log/xferlog			640  7    250  *    Z