Browse Source

/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
OPENBSD_2_7
millert 25 years ago
parent
commit
a295eb1da2
1 changed files with 14 additions and 14 deletions
  1. +14
    -14
      src/etc/Makefile

+ 14
- 14
src/etc/Makefile View File

@ -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)


Loading…
Cancel
Save