From a37fe9e7cd34aebdc7e85ab3ffe5ee790da933ca Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Mon, 18 Aug 2003 00:36:31 +0000 Subject: [PATCH] Don't hardcode owner 'root' and group 'wheel'. Submitted by: Ulrich Spoerlein --- etc/Makefile | 2 +- etc/isdn/Makefile | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/etc/Makefile b/etc/Makefile index 75338901ed0..c4357a96ae3 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -109,7 +109,7 @@ distribution: ${MTREE} ${DESTDIR}/etc/mtree cd ${.CURDIR}/namedb; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ ${NAMEDB} ${DESTDIR}/etc/namedb - cd ${.CURDIR}/ppp; ${INSTALL} -o root -g ${BINGRP} -m 600 \ + cd ${.CURDIR}/ppp; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 \ ${PPPCNF} ${DESTDIR}/etc/ppp cd ${.CURDIR}/mail; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ ${ETCMAIL} ${DESTDIR}/etc/mail diff --git a/etc/isdn/Makefile b/etc/isdn/Makefile index 0dcb0eeeb43..f3a6e06d794 100644 --- a/etc/isdn/Makefile +++ b/etc/isdn/Makefile @@ -18,8 +18,10 @@ I4BETCFILE= holidays.D \ install: for i in ${I4BETCPROG} ; do \ - ${INSTALL} -o root -g wheel -m 700 $$i ${DESTDIR}/etc/isdn ; \ + ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 700 $$i \ + ${DESTDIR}/etc/isdn ; \ done ; \ for i in ${I4BETCFILE} ; do \ - ${INSTALL} -o root -g wheel -m 600 $$i ${DESTDIR}/etc/isdn ; \ + ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 $$i \ + ${DESTDIR}/etc/isdn ; \ done