Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Feb 2004 07:18:44 -0500
From:      Ed Budd <ebudd@grokking.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Permission denied  error while doing a "make installworld"
Message-ID:  <20040225071844.3eb868d0.ebudd@grokking.org>
In-Reply-To: <000001c3fb96$c49e9820$0401a8c0@kitchen>
References:  <000001c3fb96$c49e9820$0401a8c0@kitchen>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 25 Feb 2004 05:59:03 -0600
"Kevin Greenidge" <kaging@access4less.net> wrote:

> Everything works well up until this point. I haven't changed any
> permissions or anything so I baffled as to why the error below may be
> happening. Please let me know what I'm doing wrong as this has worked
> many times before on my other boxes without problems. 
>  
> cd /usr/src
>  
> santacruz# make installworld
> mkdir -p /tmp/install.63146
> for prog in [ awk cap_mkdb cat chflags chmod chown  date echo egrep
> find grep  ln make makewhatis mkdir mtree mv perl pwd_mkdb rm sed sh
> sysctl test true uname wc zic; do  cp `which $prog`
> /tmp/install.63146;  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:/us
> r/o bj/usr/src/i386/usr/games:/tmp/install.63146 make -f Makefile.inc1
> reinstall
> make: permission denied
> *** Error code 126
>  
> Stop in /usr/src.
> *** Error code 1
>  
> Stop in /usr/src.
> santacruz#
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"



I'm just guessing here since you didn't specify one way or the other
but are you running under 'securelevel=YES' in /etc/rc.conf? If so, I
think you need to change this to 'securelevel=NO' (and comment out the
actual level specified in this file) before trying 'make installworld'
again. Then, just change it back if/when everything is complete.

Hope that helps,

EB



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