*BSD News Article 89349


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!nntp.coast.net!news.kei.com!news.mathworks.com!EU.net!Ireland.EU.net!maths.tcd.ie!not-for-mail
From: dwmalone@maths.tcd.ie (David Malone)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: can't move /kernel
Date: 13 Feb 1997 17:10:00 -0000
Organization: Dept. of Maths, Trinity College, Dublin, Ireland.
Lines: 22
Sender: mathnews@synge.maths.tcd.ie
Message-ID: <5dvht8$6gt@synge.maths.tcd.ie>
References: <32FF806E.41C67EA6@zxcv-pc.jumpnet.com> <3302D04D.1667@visigenic.com>
NNTP-Posting-Host: synge.maths.tcd.ie
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:35589

Tim O'Neil <toneil@visigenic.com> writes:

>Curt Finch wrote:
>> 
>> why can't i do this?  i booted off of kernel.new
>> 
>> # mv kernel kernel.old
>> mv: rename kernel to kernel.old: Operation not permitted
>> # id
>> uid=0(root) gid=0(wheel) groups=0(wheel), 2(kmem), 3(sys), 4(tty),
>> 5(operator), 20(staff), 31(guest)
>> # uname -a
>> FreeBSD pnk.com 2.1.5-RELEASE FreeBSD 2.1.5-RELEASE #1: Mon Feb 10
>> 13:19:32 CST 1997     curt@pnk.com:/usr/src/sys/compile/CURT  i386
>> #

>su to root first helps. alot.

His uid is zero - he is root. He should check the
man page for chflags - Its a common catch in FreeBSD.

	David.