Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Oct 2002 21:41:44 -0600
From:      Tillman <tillman@seekingfire.com>
To:        FreeBSD-Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: make installworld failing with permission denied
Message-ID:  <20021016214144.A10502@seekingfire.com>
In-Reply-To: <20021015222849.C5727@seekingfire.com>; from tillman@seekingfire.com on Tue, Oct 15, 2002 at 10:28:49PM -0600
References:  <20021015222849.C5727@seekingfire.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021016214144.A10502>