Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Oct 2000 18:37:33 -0700
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Tony Fleisher <takhus@takhus.mind.net>
Cc:        matthew zeier <matthew@intelenet.net>, freebsd-questions@FreeBSD.ORG
Subject:   Re: unable to do 'make install' - mv error
Message-ID:  <20001006183733.L272@fw.wintelcom.net>
In-Reply-To: <Pine.BSF.4.21.0010061829370.58954-100000@takhus-home.ashlandfn.org>; from takhus@takhus.mind.net on Fri, Oct 06, 2000 at 06:31:48PM -0700
References:  <20001006180715.J272@fw.wintelcom.net> <Pine.BSF.4.21.0010061829370.58954-100000@takhus-home.ashlandfn.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* Tony Fleisher <takhus@takhus.mind.net> [001006 18:32] wrote:
> On Fri, 6 Oct 2000, Alfred Perlstein wrote:
> 
> > * matthew zeier <matthew@intelenet.net> [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




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