Can't delete a file

Erik Trulsson ertr1013 at student.uu.se
Wed May 18 17:29:17 PDT 2005


On Thu, May 19, 2005 at 02:18:36AM +0200, FreeBSD questions mailing list wrote:
> Hello,
> i want to remove a jail from my system.
> 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.


-- 
<Insert your favourite quote here.>
Erik Trulsson
ertr1013 at student.uu.se


More information about the freebsd-questions mailing list