Date: Thu, 26 Mar 1998 19:51:44 +1000 (EST) From: Andrew <perrya@python.shoal.net.au> To: David Kott <dakott@alpha.delta.edu> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Cannot rm a file, even as "root", under -stable Message-ID: <Pine.BSI.3.95.980326195041.15157A-100000@python.shoal.net.au> In-Reply-To: <Pine.BSF.3.96.980323210016.262A-100000@kott.my.domain>
next in thread | previous in thread | raw e-mail | index | archive | help
man chflags You need to remove the schg flag I think. Andrew Perry > > I am really perplexed. I just cannot seem to delete the file /usr/chfn. > Here is a dialog of my embrassingly ignorant attempts: > > root@kott [/usr/bin]# rm chfn > override r-sr-xr-x root/bin schg for chfn? y > rm: chfn: Operation not permitted > root@kott [/usr/bin]# chmod u+w chfn > chmod: chfn: Operation not permitted > root@kott [/usr/bin]# chown root:wheel chfn > chown: chfn: Operation not permitted > root@kott [/usr/bin]# whoami > root > root@kott [/usr/bin]# groups > wheel kmem sys tty operator bin staff guest > root@kott [/usr/bin]# mount | grep "/usr" > /dev/wd2s1e on /usr (local, noatime) > root@kott [/usr/bin]# lsof | grep chfn > root@kott [/usr/bin]# > > Can someone.. anyone...give me, or perhaps lend me a clue on how to > remove this pesky file? I think I failed to renew my clue subscription... > > I am running: > > FreeBSD FreeBSD 2.2.6-BETA #0: Sun Mar 22 22:44:22 EST 1998 > > > Ignorantly yours, > -d > > > > > > > > > > > > > > The Fourth Law of Programming: > > Anything that CAN go wrong wi > /kernel: pid 128 (sendmail), uid 0: exited on signal 11 (core dumped) > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > 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?Pine.BSI.3.95.980326195041.15157A-100000>