Strange filesystem problems

A. Wright andrew at qemg.org
Wed Jul 21 12:00:31 UTC 2010



On Wed, 21 Jul 2010, Andrea Venturoli wrote:

> Let's say I have directory "foo"; under "foo" I have "bar" which keeps
> thousands of files (in several subdirectories).
>
> I do:
>
> %cd /xyzzy/foo
> %pwd
> xyzzy/foo
> %rm -fR bar
> %pwd
> pwd: .: Permission denied

At this point, I would suspect that you may have the UCHG flag
set.  What do:
 	ls -lod /xyzzy/foo/bar
and
 	ls -lo /xyzzy/foo/bar
say?

Check the chflags(1) man page for some descriptions and also how
to change/remove the flags if present.




More information about the freebsd-questions mailing list