From a295eb1da29cafaf89b4434fb91305a4d92bbd34 Mon Sep 17 00:00:00 2001 From: millert <> Date: Fri, 26 Nov 1999 21:29:37 +0000 Subject: [PATCH] /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 --- src/etc/Makefile | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/etc/Makefile b/src/etc/Makefile index aef70a50..ab9c4509 100644 --- a/src/etc/Makefile +++ b/src/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)