From owner-freebsd-questions Tue Oct 31 15: 3:17 2000 Delivered-To: freebsd-questions@freebsd.org Received: from ghost.blacktrap.net (20-230.CampusNet.ucl.ac.be [130.104.20.230]) by hub.freebsd.org (Postfix) with ESMTP id CC66637B479 for ; Tue, 31 Oct 2000 15:03:13 -0800 (PST) Received: from anoat.blacktrap.net (root@anoat [192.168.1.11]) by ghost.blacktrap.net (8.11.1/8.11.0) with ESMTP id e9VN3BG13630; Wed, 1 Nov 2000 00:03:11 +0100 (CET) (envelope-from lex@blacktrap.net) Received: (from lex@localhost) by anoat.blacktrap.net (8.11.1/8.11.0) id e9VN3BD10548; Wed, 1 Nov 2000 00:03:11 +0100 (CET) (envelope-from lex) Date: Wed, 1 Nov 2000 00:03:11 +0100 From: Chive To: leoric@home.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Errors when buidling kernel part 2 Message-ID: <20001101000311.A10476@blacktrap.net> References: <39FF27CD.43D56479@home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <39FF27CD.43D56479@home.com>; from leoric@home.com on Tue, Oct 31, 2000 at 02:13:02PM -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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