FreeBSD: Operation not permitted WTF

While setting up my FreeBSD box – I oopsed a bit and pointed make build world to wrong directory. While trying to clean up I did:

 # rm -rf /mnt/foo.oops

and all I got is a bunch of Operation not permitted for certain files.

I did some digging and found that

 # chflags -R noschg /mnt/foo

was the solution

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.