rm: Operation not permitted
ajacoutot at lphp.org
Thu May 8 06:10:12 PDT 2003
On Thursday 08 May 2003 13:44, Daniel Bye wrote:
> # ls -lo /root/ERASE
> You will probably see that the directory empty has the "schg" flag set.
> This tells the kernel not to allow any alterations to flagged object. To
> remove it, you will need to remove the flag -
> # chflags -R noschg ERASE
> will do the trick. You can then remove ERASE and its contents.
It did indeed, thanks a lot.
I'll have a look at man chflags :)
More information about the freebsd-questions