From owner-freebsd-questions Wed Oct 16 21:18: 2 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B3E737B401 for ; Wed, 16 Oct 2002 21:18:01 -0700 (PDT) Received: from mail.seekingfire.com (coyote.seekingfire.com [24.72.10.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id AAE1443E6E for ; Wed, 16 Oct 2002 21:18:00 -0700 (PDT) (envelope-from tillman@seekingfire.com) Received: from blues.seekingfire.prv (blues.seekingfire.prv [192.168.23.211]) by mail.seekingfire.com (Postfix) with ESMTP id E47855E for ; Wed, 16 Oct 2002 21:44:54 -0600 (CST) Received: (from tillman@localhost) by blues.seekingfire.prv (8.11.6/8.11.6) id g9H3fiD10507 for freebsd-questions@FreeBSD.ORG; Wed, 16 Oct 2002 21:41:44 -0600 Date: Wed, 16 Oct 2002 21:41:44 -0600 From: Tillman To: FreeBSD-Questions Subject: Re: make installworld failing with permission denied Message-ID: <20021016214144.A10502@seekingfire.com> References: <20021015222849.C5727@seekingfire.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20021015222849.C5727@seekingfire.com>; from tillman@seekingfire.com on Tue, Oct 15, 2002 at 10:28:49PM -0600 X-Urban-Legend: There is lots of hidden information in headers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Oct 15, 2002 at 10:28:49PM -0600, Tillman wrote: > Howdy, > > When I attempt to "make install world" from a read-only NFS mount I'm > getting a permission error: > > [root@coyote src]# make installworld > mkdir -p /tmp/install.66566 > for prog in [ awk cat chflags chmod chown date echo egrep find grep ln > make makewhatis mtree mv perl pwd_mkdb rm sed sh sysctl test true uname > wc zic; do cp `which $prog` /tmp/install.66566; done > cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=i386 MACHINE=i386 > OBJFORMAT_PATH=/usr/obj/usr/src/i386/usr/libexec > PERL5LIB=/usr/obj/usr/src/i386/usr/libdata/perl/5.00503 > GROFF_BIN_PATH=/usr/obj/usr/src/i386/usr/bin > GROFF_FONT_PATH=/usr/obj/usr/src/i386/usr/share/groff_font > GROFF_TMAC_PATH=/usr/obj/usr/src/i386/usr/share/tmac > PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/tmp/install.66566 > make -f Makefile.inc1 reinstall > make: permission denied Replying to my own post for the archives: It turns out that mounting /tmp 'noexec', while possibly a good idea for security, is not good for the portion of 'make installworld' that copies some vital programs to /tmp/install.##### and then tries to run the 'make' contained therein. Live and learn :-) - Tillman -- Enlightenment is: do what you want, eat what there is Jack Kerouac To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message