Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Nov 2000 00:03:11 +0100
From:      Chive <lex@blacktrap.net>
To:        leoric@home.com
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Errors when buidling kernel part 2
Message-ID:  <20001101000311.A10476@blacktrap.net>
In-Reply-To: <39FF27CD.43D56479@home.com>; from leoric@home.com on Tue, Oct 31, 2000 at 02:13:02PM -0600
References:  <39FF27CD.43D56479@home.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Oct 31, 2000 at 02:13:02PM -0600, leoric@home.com wrote:
> Hmm... It seems that my /kernel file is set to -r-xr-xr-x
> 
> Is there any way to rm, mv, or chmod the file when it is like this. If
> root doesnt have write access to the file then how can get my new kernel
> installed?
> 
> 

You can't remove the kernel with rm because it has the immutable flag set (see
chflags(1)). You can remove this flag with `chflags noschg', but doing `make
install' when building the kernel will take care of this (and of resetting
this flag on the newly installed kernel).

-- 
Chive.


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?20001101000311.A10476>