summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpvalchev <pvalchev@openbsd.org>2002-11-07 23:43:40 +0000
committerpvalchev <pvalchev@openbsd.org>2002-11-07 23:43:40 +0000
commit67e1442c9f83ad192cbfdc30f8ed6b89728e9e4d (patch)
tree712732c64ba19931370f5f3826cccf9856de9f40
parent/var/log/messages is mode 640 not 644 by default; root@shopip.com (diff)
downloadwireguard-openbsd-67e1442c9f83ad192cbfdc30f8ed6b89728e9e4d.tar.xz
wireguard-openbsd-67e1442c9f83ad192cbfdc30f8ed6b89728e9e4d.zip
Install /var/log/message 644 since the beginning and change back
newsyslog.conf to reflect that. More people seem to prefer that, and it can be easily changed if you like it another way. millert, fgs and others verbally agree
-rw-r--r--etc/Makefile4
-rw-r--r--etc/newsyslog.conf4
2 files changed, 4 insertions, 4 deletions
diff --git a/etc/Makefile b/etc/Makefile
index ca39e4f69b4..e5087d0ff74 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.171 2002/09/06 21:30:22 deraadt Exp $
+# $OpenBSD: Makefile,v 1.172 2002/11/07 23:43:40 pvalchev Exp $
TZDIR= /usr/share/zoneinfo
LOCALTIME= US/Pacific
@@ -198,7 +198,7 @@ distribution-etc-root-var: distrib-dirs
${DESTDIR}/var/log/lpd-errs
${INSTALL} -c -o ${BINOWN} -g wheel -m 600 /dev/null \
${DESTDIR}/var/log/maillog
- ${INSTALL} -c -o ${BINOWN} -g wheel -m 640 /dev/null \
+ ${INSTALL} -c -o ${BINOWN} -g wheel -m 644 /dev/null \
${DESTDIR}/var/log/messages
${INSTALL} -c -o ${BINOWN} -g wheel -m 600 /dev/null \
${DESTDIR}/var/log/secure
diff --git a/etc/newsyslog.conf b/etc/newsyslog.conf
index 5e4beeec892..873714e1cb6 100644
--- a/etc/newsyslog.conf
+++ b/etc/newsyslog.conf
@@ -1,4 +1,4 @@
-# $OpenBSD: newsyslog.conf,v 1.19 2002/11/07 23:20:24 pvalchev Exp $
+# $OpenBSD: newsyslog.conf,v 1.20 2002/11/07 23:43:40 pvalchev Exp $
#
# configuration file for newsyslog
#
@@ -9,7 +9,7 @@
/var/log/daemon 640 5 30 * Z
/var/log/lpd-errs 640 7 10 * Z
/var/log/maillog 600 7 * 24 Z
-/var/log/messages 640 5 30 * Z
+/var/log/messages 644 5 30 * Z
/var/log/secure 600 7 * 168 Z
/var/log/wtmp 644 7 * 168 ZB
/var/log/xferlog 640 7 250 * Z