diff options
author | obrien <obrien@FreeBSD.org> | 2003-08-18 00:36:31 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2003-08-18 00:36:31 +0000 |
commit | dc943d848be90fea260421da6c01771d65fbb19f (patch) | |
tree | 1141113bda68625707c9ce55aa72f511980eac48 | |
parent | ed2501355f6c6eef4985814c0035402e3a7a9b64 (diff) | |
download | FreeBSD-src-dc943d848be90fea260421da6c01771d65fbb19f.zip FreeBSD-src-dc943d848be90fea260421da6c01771d65fbb19f.tar.gz |
Don't hardcode owner 'root' and group 'wheel'.
Submitted by: Ulrich Spoerlein <q@uni.de>
-rw-r--r-- | etc/Makefile | 2 | ||||
-rw-r--r-- | etc/isdn/Makefile | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/etc/Makefile b/etc/Makefile index 7533890..c4357a9 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 0dcb0ee..f3a6e06 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 |