*BSD News Article 84436


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!news.uwa.edu.au!DIALix!melbourne.DIALix.oz.au!seeware!usenet
From: mark@putte.seeware.DIALix.oz.au (Mark Hannon)
Subject: Re: Unable to rename kernel
Content-Type: text/plain; charset=us-ascii
Sender: usenet@seeware.DIALix.oz.au (Charlie Root)
Nntp-Posting-Host: putte.seeware.dialix.oz.au
Organization: Private FreeBSD site
Message-ID: <E215M8.I4.L.doorway@seeware.DIALix.oz.au>
References: <589otu$o5g@umbc7.umbc.edu>
Mime-Version: 1.0
Date: Sat, 7 Dec 1996 06:20:31 GMT
Lines: 28

In article <589otu$o5g@umbc7.umbc.edu>,
	pauld@umbc.edu (Paul Danckaert) writes:
> 
> Greetings,
> 
> I have run into an interesting problem on one of my FreeBSD 2.1.5 boxes.
> For some reason, the kernel has permissions:
> 
> -r-xr-xr-x  1 root  wheel  881526 Nov 11 14:33 /kernel
> 
> I am unable to chmod it, chown it, or mv it to any other name.  I tried
> booting off of the new kernel I want to use, and then doing it, without
> success. I even tried booting the fixit floppy and doing it within there
> with no luck.  This is fairly odd.. any ideas on how I can get this kernel
> out of the way?
> 

The kernel file is 'immutable'.  See man chflags for details.
To remove it first do a chflags noschg /kernel.

Rgds/mark

-- 
+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
| Mark Hannon,| FreeBSD, Free Unix for your PC | mark@seeware.DIALix.oz.au|
| Melbourne,  | PGP key available by fingering | epamha@epa.ericsson.se   |
| Australia   | seeware@melbourne.DIALix.oz.au |                          |
+-=-=-=-=-=-=-+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+