summaryrefslogtreecommitdiff
path: root/etc/Makefile
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1999-11-26 21:29:38 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1999-11-26 21:29:38 +0000
commit99019139c370c0aedb77b02d2d900970e4f2ffc5 (patch)
treefba1b80735a4dff4fdc3c7efbc681c9c98c9db6e /etc/Makefile
parentd94485300d13784cbb08d31d8a1f12b80bd745cc (diff)
/var/db/locate.database should be owned by root, not nobody. While
/usr/libexec/locate.updatedb does run as nobody the redirection is done as root so the resulting file is owned by root. sync log file owner/mode with what is is newsyslog.conf
Diffstat (limited to 'etc/Makefile')
-rw-r--r--etc/Makefile28
1 files changed, 14 insertions, 14 deletions
diff --git a/etc/Makefile b/etc/Makefile
index aef70a50ed6..ab9c450945e 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.103 1999/10/08 11:33:51 espie Exp $
+# $OpenBSD: Makefile,v 1.104 1999/11/26 21:29:37 millert Exp $
TZDIR= /usr/share/zoneinfo
LOCALTIME= US/Pacific
@@ -161,36 +161,36 @@ distribution-etc-root-var: distrib-dirs
${DESTDIR}/var/at/at.deny
${INSTALL} -c -o root -g wheel -m 600 /dev/null \
${DESTDIR}/var/cron/log
- ${INSTALL} -c -o nobody -g ${BINGRP} -m 664 /dev/null \
+ ${INSTALL} -c -o root -g wheel -m 444 /dev/null \
${DESTDIR}/var/db/locate.database
- ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 640 /dev/null \
+ ${INSTALL} -c -o ${BINOWN} -g wheel -m 640 /dev/null \
${DESTDIR}/var/log/authlog
- ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
+ ${INSTALL} -c -o ${BINOWN} -g wheel -m 640 /dev/null \
${DESTDIR}/var/log/daemon
- ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
+ ${INSTALL} -c -o ${BINOWN} -g wheel -m 640 /dev/null \
${DESTDIR}/var/log/ftpd
- ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
+ ${INSTALL} -c -o ${BINOWN} -g wheel -m 640 /dev/null \
${DESTDIR}/var/log/ipflog
- ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
+ ${INSTALL} -c -o ${BINOWN} -g wheel -m 644 /dev/null \
${DESTDIR}/var/log/lastlog
- ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
+ ${INSTALL} -c -o ${BINOWN} -g wheel -m 640 /dev/null \
${DESTDIR}/var/log/lpd-errs
- ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
+ ${INSTALL} -c -o ${BINOWN} -g wheel -m 600 /dev/null \
${DESTDIR}/var/log/maillog
- ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
+ ${INSTALL} -c -o ${BINOWN} -g wheel -m 640 /dev/null \
${DESTDIR}/var/log/messages
- ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \
+ ${INSTALL} -c -o ${BINOWN} -g wheel -m 600 /dev/null \
${DESTDIR}/var/log/secure
- ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
+ ${INSTALL} -c -o ${BINOWN} -g wheel -m 644 /dev/null \
${DESTDIR}/var/log/wtmp
- ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
+ ${INSTALL} -c -o ${BINOWN} -g wheel -m 640 /dev/null \
${DESTDIR}/var/log/xferlog
${INSTALL} -c -o daemon -g staff -m 664 /dev/null \
${DESTDIR}/var/msgs/bounds
${INSTALL} -c -o ${BINOWN} -g utmp -m 664 /dev/null \
${DESTDIR}/var/run/utmp
.if (${MACHINE_ARCH} == "mips")
- (cd etc.${MACHINE}; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
+ (cd etc.${MACHINE}; ${INSTALL} -c -o ${BINOWN} -g wheel -m 444 \
ld.so.conf ${DESTDIR}/etc)
.endif
(cd ${DESTDIR}/dev; ./MAKEDEV all)