Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jul 2010 20:26:18 -0400
From:      "illoai@gmail.com" <illoai@gmail.com>
To:        Andrea Venturoli <ml@netfence.it>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Strange filesystem problems
Message-ID:  <AANLkTimKUGtBJ_L6mL82lMsyslOTXSIuCF3KcoXNaWMf@mail.gmail.com>
In-Reply-To: <4C46BBCE.2080601@netfence.it>
References:  <4C46BBCE.2080601@netfence.it>

next in thread | previous in thread | raw e-mail | index | archive | help
On 21 July 2010 05:20, Andrea Venturoli <ml@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.

-- 
--



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