This is a known NFS problem and has been discussed in the NFS list.
see http://www.geocrawler.com/archives/3/35/2001/7/1550
and look for
Bug in NFS - should init be allowed to set umask
Tad
>
> > I'm testing SPECsfs against the 2.4.7 cvs XFS patch and it's failing
> > the validation phase. The problem is that directories are being
> > created with the wrong permissions. You can see it like this:
> >
> > mount localhost:/export /mnt
> > cd /mnt
> > umask 0
> > mkdir foo
> > ls -ld foo
> >
> > I thought initially it was a nfsd bug, perhaps getting the umask
> > wrong, but I found that the bug doesn't happen with ext2. Also,
> > creating files does get the right permisisons, but directories are
> > wrong.
> >
> > Any ideas? Known problem perhaps? I'm new to XFS.
> >
> > Cheers, Tridge
>
> Wow, famous people!
>
> Hmm, I read this message and the fix message, I will take a look later
> today, the fact that this does not happen to ext2 suggests there is
> still something wrong in xfs - why would a fix in the nfs code be the
> correct one if different filesystems exhibit different behaviors?
>
> Steve
>
>
>
|