From owner-freebsd-questions Fri Oct 6 18:37:37 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id D28AC37B66E for ; Fri, 6 Oct 2000 18:37:35 -0700 (PDT) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e971bX705842; Fri, 6 Oct 2000 18:37:33 -0700 (PDT) Date: Fri, 6 Oct 2000 18:37:33 -0700 From: Alfred Perlstein To: Tony Fleisher Cc: matthew zeier , freebsd-questions@FreeBSD.ORG Subject: Re: unable to do 'make install' - mv error Message-ID: <20001006183733.L272@fw.wintelcom.net> References: <20001006180715.J272@fw.wintelcom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: ; from takhus@takhus.mind.net on Fri, Oct 06, 2000 at 06:31:48PM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Tony Fleisher [001006 18:32] wrote: > On Fri, 6 Oct 2000, Alfred Perlstein wrote: > > > * matthew zeier [001006 18:00] wrote: > > > > > > What does this mean? > > > > > > > > > rose# make install > > > chflags noschg /kernel > > > chflags: /kernel: Operation not permitted > > > *** Error code 1 (ignored) > > > mv /kernel /kernel.old > > > mv: rename /kernel to /kernel.old: Operation not permitted > > > *** Error code 1 > > > > > > > > > Did I leave something out of my current kernel? How do I fix it? > > > > If you've raised securelevel, which it looks like you did, you need > > to bring the box into single usermode to fix this. > > > > -- > > Of course, the first thing to check is to make sure you are root > (or some other uid 0 equivalent). Also make sure that your / > partition is not mounted read-only. While EPERM is possible if the user is not root (his prompt is '#' which almost universally means "you're root, watch your step") EPERM should not be reported by chflags if the filesystem is read-only, that would be EROFS (Read-only file system.). -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message