Date: Tue, 16 Jul 1996 00:04:56 -0400 (EDT) From: Charlie Root <root@rhiannon.scsn.net> To: black@MR.Net (Ben Black) Cc: questions@FreeBSD.org Subject: Re: can't delete rcp Message-ID: <199607160404.AAA11865@rhiannon.scsn.net> In-Reply-To: <199607160253.VAA14587@galileo.mr.net> from Ben Black at "Jul 15, 96 09:53:26 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
> ok, i'm feeling really stupid for this one... > > slowburn: {1} whoami > root > slowburn: {2} rm rcp > override r-sr-xr-x root/bin schg for rcp? y > rm: rcp: Operation not permitted > slowburn: {3} chmod 0755 rcp > chmod: rcp: Operation not permitted > slowburn: {4} mv rcp rcp.bak > mv: rename rcp to rcp.bak: Operation not permitted > > > i tried unlinking the thing, cat /dev/null onto it...what simple thing am i missing? Try this: slowburn: chflags noschg rcp ; rm rcp Naturally, you'll have to be root to do this. It would probably be a good idea to 'man chflags', too...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607160404.AAA11865>