Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 May 2005 12:37:37 +0200
From:      FreeBSD questions mailing list <FreeBSD@amadeus.demon.nl>
To:        Alex Zbyslaw <xfb52@dial.pipex.com>
Cc:        freebsd <freebsd-questions@freebsd.org>
Subject:   Re: Can't delete a file
Message-ID:  <1DD7F5CE-EB32-4EA3-9454-6462DEC2BBF4@amadeus.demon.nl>
In-Reply-To: <428C550F.3080306@dial.pipex.com>
References:  <B0D3FD7B-99A3-4609-9804-F6B235ED96D6@amadeus.demon.nl> <20050519002903.GA7489@falcon.midgard.homeip.net> <428C550F.3080306@dial.pipex.com>

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

On 19 mei 2005, at 10:57, Alex Zbyslaw wrote:

> Erik Trulsson wrote:
>
>
>> On Thu, May 19, 2005 at 02:18:36AM +0200, FreeBSD questions  
>> mailing list wrote:
>>
>>
>>> i deleted the folder it was installed into but there are some  
>>> files  that i can't delete, for instance this one:
>>>
>>> -r-sr-xr-x  1 root  wheel    18K Mar 26 06:58 rcp*
>>>
>>> i can't even delete it as root:
>>>
>>> # rm -rf rcp
>>> rm: rcp: Operation not permitted
>>>
>>> can anyone tell me how to get rid of it?
>>>
>>>
>>
>> chflags noschg rcp
>> rm -rf rcp
>>
>> Do a 'man chflags' for more information about the file flags.
>>
>>
> And look at the -o option to ls.
>
> --Alex
>
>
thanks, that did the trick...
:)
Arno



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1DD7F5CE-EB32-4EA3-9454-6462DEC2BBF4>