Re: 2.1.70: stange NFS modes

Bill Hawes (whawes@star.net)
Thu, 04 Dec 1997 14:01:30 -0500


Ildar Khabibrakhmanov wrote:
> When I execute the following in /mnt/mnt/milo
> --------------------------
> % mkdir ttt ; ls -ld ttt ; cd ttt
> -------------------------------
> the output is
> --------------------------------
> ?rwxr-xr-x 65535 65535 65535 4294967295 Dec 31 1969 ttt
> bash: cd: ttt: Not a directory
> --------------------------------
> However, next
>
> % ls -ld ttt
>
> gives normal normal output
>
> drwxr-xr-x 2 ildar isas 512 Dec 4 11:10 ttt
>
> It looks like newly created directory structure
> remains unusable for some time or until some
> process finishes? As result I cannot run
> more or less complicated scripts and programs.

Very interesting ... from your report it would seem that the fattr
returned by mkdir has a bad mode, and when the inode is created later it
gets the correct mode.

This might be a server bug -- have you seen it happen with any other
server?

>
> My NFS server is
> Universal NFS Server 2.2beta26
^^^
I think there's currently a 2.2beta29 that might be worth testing, and
you also might want to try the recent 2.1.xx knfsd.

Regards,
Bill