Source-Changes-HG archive

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

[src/trunk]: src/etc Consistently use 0664 root:utmp for /var/log/{lastlog, wt...



details:   https://anonhg.NetBSD.org/src/rev/f516d5635f63
branches:  trunk
changeset: 581050:f516d5635f63
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sun May 22 14:34:20 2005 +0000

description:
Consistently use 0664 root:utmp for /var/log/{lastlog,wtmp}{,x}.
Rest of PR 18670.

diffstat:

 etc/Makefile      |  10 +++++-----
 etc/mtree/special |  10 +++++-----
 2 files changed, 10 insertions(+), 10 deletions(-)

diffs (53 lines):

diff -r ddb779db23cc -r f516d5635f63 etc/Makefile
--- a/etc/Makefile      Sun May 22 14:00:59 2005 +0000
+++ b/etc/Makefile      Sun May 22 14:34:20 2005 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.312 2005/04/17 15:15:48 lukem Exp $
+#      $NetBSD: Makefile,v 1.313 2005/05/22 14:34:20 lukem Exp $
 #      from: @(#)Makefile      8.7 (Berkeley) 5/25/95
 
 # Environment variables without default values:
@@ -280,15 +280,15 @@
                uucp dialer             640     /var/log/aculog \
                ${BINOWN} ${BINGRP}     600     /var/log/authlog \
                root wheel              600     /var/log/cron \
-               ${BINOWN} ${BINGRP}     664     /var/log/lastlog \
-               ${BINOWN} ${BINGRP}     664     /var/log/lastlogx \
+               ${BINOWN} ${UTMPGRP}    664     /var/log/lastlog \
+               ${BINOWN} ${UTMPGRP}    664     /var/log/lastlogx \
                ${BINOWN} ${BINGRP}     640     /var/log/lpd-errs \
                ${BINOWN} ${BINGRP}     600     /var/log/maillog \
                ${BINOWN} ${BINGRP}     644     /var/log/messages \
                ${BINOWN} ${BINGRP}     600     /var/log/secure \
                ${BINOWN} ${BINGRP}     644     /var/log/sendmail.st \
-               ${BINOWN} ${BINGRP}     644     /var/log/wtmp \
-               ${BINOWN} ${BINGRP}     644     /var/log/wtmpx \
+               ${BINOWN} ${UTMPGRP}    664     /var/log/wtmp \
+               ${BINOWN} ${UTMPGRP}    664     /var/log/wtmpx \
                ${BINOWN} ${BINGRP}     600     /var/log/xferlog \
                daemon staff            664     /var/msgs/bounds \
                ${BINOWN} ${UTMPGRP}    664     /var/run/utmp \
diff -r ddb779db23cc -r f516d5635f63 etc/mtree/special
--- a/etc/mtree/special Sun May 22 14:00:59 2005 +0000
+++ b/etc/mtree/special Sun May 22 14:34:20 2005 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: special,v 1.86 2005/05/11 10:41:51 peter Exp $
+#      $NetBSD: special,v 1.87 2005/05/22 14:34:20 lukem Exp $
 #      @(#)special     8.2 (Berkeley) 1/23/94
 #
 # Hand-crafted mtree specification for the dangerous files.
@@ -346,10 +346,10 @@
 ./var/db                       type=dir  mode=0755
 ./var/log                      type=dir  mode=0755
 ./var/log/authlog              type=file mode=0600 optional tags=exclude
-./var/log/lastlog              type=file mode=0644 tags=exclude
-./var/log/lastlogx             type=file mode=0644 tags=exclude
-./var/log/wtmp                 type=file mode=0644 tags=exclude
-./var/log/wtmpx                        type=file mode=0644 tags=exclude
+./var/log/lastlog              type=file mode=0664 gname=utmp tags=exclude
+./var/log/lastlogx             type=file mode=0664 gname=utmp tags=exclude
+./var/log/wtmp                 type=file mode=0664 gname=utmp tags=exclude
+./var/log/wtmpx                        type=file mode=0664 gname=utmp tags=exclude
 ./var/mail                     type=dir  mode=1777 ignore
 ./var/preserve                 type=dir  mode=0755 ignore
 ./var/run                      type=dir  mode=0755



Home | Main Index | Thread Index | Old Index