Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 May 2003 15:10:03 +0200
From:      Antoine Jacoutot <ajacoutot@lphp.org>
To:        dan@slightlystrange.org, freebsd-questions@freebsd.org
Subject:   Re: rm: Operation not permitted
Message-ID:  <200305081510.03822.ajacoutot@lphp.org>
In-Reply-To: <20030508114401.GA73030@catflap.home.slightlystrange.org>
References:  <200305081325.36007.ajacoutot@lphp.org> <20030508114401.GA73030@catflap.home.slightlystrange.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 :)

Antoine



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305081510.03822.ajacoutot>