Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Sep 2003 08:00:42 -0800 (AKDT)
From:      Mike Tibor <tibor@tibor.org>
To:        Lowell Gilbert <freebsd-questions-local@be-well.no-ip.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: "make: permission denied" error when doing "make installworld"
Message-ID:  <20030919075522.I26837-100000@xena.mikey.net>
In-Reply-To: <4465jo3nx0.fsf@be-well.ilk.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 19 Sep 2003, Lowell Gilbert wrote:

> Mike Tibor <tibor@tibor.org> writes:
>
> > I'm trying update one of my servers, and can't get past a "make:
> > permission denied" error when doing a "make instalworld" as root in single
> > user mode.  My sequence was this:
> >
> > cvsup
> > make buildworld
> > make buildkernel
> > make installkernel
> > shutdown now   (go to single user mode)
>
> That should be "shutdown -r now".  You want to reboot into the new
> kernel.  [This explains the problem, I think, because you're probably
> still running at a raised security level, even though you're in
> single-user mode.]
>
> > make installworld
> >
> > I'm I missing something?  I've run into this once before on another
> > server, and just did a binary upgrade to get around it.  The thing is,
> > I've successfully upgraded along the -STABLE tree via this method
> > countless times.
> >
> > / is mounted rw, and /usr/bin/make is executable.
>
> I suspect the "permission denied" errors are caused by
> system-immutable flags, not by file permissions.

Thanks for the reply Lowell.  I actually just found the problem that was
causing this just yesterday--when I built this box I'd set up a separate
filesystem for /tmp and had mounted it with various options including
noexec.  After I rebooted into the new kernel, I did a make installworld
without /tmp being mounted, and it worked just fine.  The trick is going
to be to remember this the next time.  ;-)


Thanks again,
Mike



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