Strange filesystem problems

illoai at gmail.com illoai at gmail.com
Thu Jul 22 00:26:21 UTC 2010


On 21 July 2010 05:20, Andrea Venturoli <ml at netfence.it> wrote:
> Hello.
>
> I'm experiencing a strange problem on a 7.2p8/i386 box.
> This is not critical, since I have a workaround, but it's annoying and I'm
> also curious :-)
>
> 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
> %cd ..
> %cd foo
> %pwd
> xyzzy/foo
>
> This is a local UFS filesystem, so it shouldn't be a network problem; no
> error shows up in the logs; in "bar" I don't have any symlink or special
> node, only plain files and directories.
>
> What should I check?
>

I note that /bin/[t]csh uses the external /bin/pwd
whereas /bin/sh has it as a builtin.  I know (virtu-
ally) nothing about bash nor zsh.

I would, in any case, suspect the shell, and try
at least one other variation.

I can't replicate your behaviour here.

-- 
--


More information about the freebsd-questions mailing list