From owner-freebsd-questions@FreeBSD.ORG Fri Sep 19 09:00:45 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 90F5116A4B3 for ; Fri, 19 Sep 2003 09:00:45 -0700 (PDT) Received: from alpha.tibor.org (117-5-237-24.gci.net [24.237.5.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCFEF43FD7 for ; Fri, 19 Sep 2003 09:00:42 -0700 (PDT) (envelope-from tibor@tibor.org) Received: from localhost (localhost [127.0.0.1]) by alpha.tibor.org (Postfix) with ESMTP id 4BEB220F40; Fri, 19 Sep 2003 08:00:42 -0800 (AKDT) Date: Fri, 19 Sep 2003 08:00:42 -0800 (AKDT) From: Mike Tibor X-X-Sender: tibor@xena.mikey.net To: Lowell Gilbert In-Reply-To: <4465jo3nx0.fsf@be-well.ilk.org> Message-ID: <20030919075522.I26837-100000@xena.mikey.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: "make: permission denied" error when doing "make installworld" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Sep 2003 16:00:45 -0000 On 19 Sep 2003, Lowell Gilbert wrote: > Mike Tibor 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