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 [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to