Permission denied error while doing a "make installworld"
Ed Budd
ebudd at grokking.org
Wed Feb 25 04:18:47 PST 2004
On Wed, 25 Feb 2004 05:59:03 -0600
"Kevin Greenidge" <kaging at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at 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
More information about the freebsd-questions
mailing list