Date: Fri, 17 Nov 1995 11:17:16 +0100 (MET) From: J Wunsch <j@uriah.heep.sax.de> To: wosch@cs.tu-berlin.de (Wolfram Schneider) Cc: asami@cs.berkeley.edu, current@FreeBSD.org Subject: Re: absolute pathnames in /usr/share/mk/bsd.*.mk Message-ID: <199511171017.LAA15492@uriah.heep.sax.de> In-Reply-To: <199511160956.KAA08085@caramba.cs.tu-berlin.de> from "Wolfram Schneider" at Nov 16, 95 10:56:50 am
next in thread | previous in thread | raw e-mail | index | archive | help
As Wolfram Schneider wrote:
>
> $ egrep /sbin/ *.mk |wc -l
> 6
>
> $ egrep /sbin/ *.mk
> bsd.kmod.mk: /sbin/modload -o ${KMOD} -e${KMOD} ${PROG}
> bsd.kmod.mk: /sbin/modunload -n ${KMOD}
> bsd.port.mk:MD5?= /sbin/md5
> bsd.port.mk:MTREE_CMD?= /usr/sbin/mtree
> bsd.port.mk:PKG_CMD?= /usr/sbin/pkg_create
> bsd.port.mk: if /sbin/ldconfig -r | grep -q -e "-l$$lib"; then \
I think the /sbin references in bsd.kmod.mk could go away.
mod(un)loading is only allowed for the superuser anyway, who's
expected to have /sbin in his $path.
The absolute references in bsd.port.mk are okay. I'm not sure about
the mtree command, the remaining commands must be executable for
regular users, too.
--
cheers, J"org
joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511171017.LAA15492>
