Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jul 1996 21:07:30 -0700 (PDT)
From:      Veggy Vinny <richardc@CSUA.Berkeley.EDU>
To:        Ben Black <black@MR.Net>
Cc:        questions@FreeBSD.org
Subject:   Re: can't delete rcp
Message-ID:  <Pine.PTX.3.91.960715210638.25861V-100000@soda.CSUA.Berkeley.EDU>
In-Reply-To: <199607160253.VAA14587@galileo.mr.net>

next in thread | previous in thread | raw e-mail | index | archive | help


On Mon, 15 Jul 1996, Ben Black wrote:

> 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?

	Just do the following:

chflags noschg /bin/rcp

Vince




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.PTX.3.91.960715210638.25861V-100000>