Re: VFS(?) weirdness

From: David Malone <dwmalone_at_maths.tcd.ie>
Date: Tue, 19 Sep 2006 15:09:53 +0100
On Tue, Sep 19, 2006 at 05:37:02PM +0400, Gleb Smirnoff wrote:
>   Dear collegues,
> 
>   I've got a box running HEAD where a strange bug is observed. The below
> script always returns on this box:
> 
> pwd: .: Permission denied

I've tried this on a current machine (as of Sept 16th) and don't
see the same thing.

I'd guess this is somehow related to the fact that removing a
directory flushes the nami cache for things related to that directory's
parent. This probably results in the kernel getcwd failing and it
falling back to the userland getcwd code, which needs to read and
stat every directory above you in the filesystem tree. Do you have
a directory further up your path that isn't readable/statable?

	David.
Received on Tue Sep 19 2006 - 12:09:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:00 UTC