[OpenAFS] [grand.central.org #19412] OpenAFS-1.3.85 on Solars 10 Problem with pwd after rename of a directory

chas williams - CONTRACTOR chas@cmf.nrl.navy.mil
Wed, 03 Aug 2005 18:16:34 -0400

In message <42F1160E.5050206@anl.gov>,"Douglas E. Engert" writes:
>I too have been working on a similiar patch today which appears to
>fix this problem. "ls" still shows the entry, but now "ls -l" does not.
>Before it showed ./badmp: nodev

right.  ls just reads the directory entries but ls -l will stat each
entry and discover that the bad mount point says it doesnt exist
(ENOENT).  based on the code i have seen so far, the only safe
thing to return is ENOENT.

>Why did you change the afs_AccessOK to READ.

that's an old bug from an old tree.

>This really apears to be a Solaris bug, as Solaris 9 did not have a problem.

i believe solaris9 still had the userspace getcwd which wasnt so
particular.  the new version certainly seems broken.  an ESTALE in
an nfs directory in the path should see the same problem.  seems