rm: Operation not permitted

Antoine Jacoutot ajacoutot at lphp.org
Thu May 8 06:10:12 PDT 2003

On Thursday 08 May 2003 13:44, Daniel Bye wrote:
> Try
>  # 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 mailing list