Okay here is the current situation...
Without your patch:
over NFSv2: open new file with 666 permission creates file with 644
over NFSv3: open new file works fine, but hard-linking changes file perm to
With your path:
over NFSv2: (same as above)
over NFSv3: Works fine
So you patch does have some affect.
> -----Original Message-----
> From: Steve Lord [mailto:lord@xxxxxxx]
> Sent: Tuesday, January 08, 2002 2:57 PM
> To: ZINKEVICIUS,MATT " "(HP-Loveland,ex1)
> Cc: linux-xfs@xxxxxxxxxxx
> Subject: RE: link() messes up file attributes
> On Tue, 2002-01-08 at 15:49, ZINKEVICIUS,MATT (HP-Loveland,ex1) wrote:
> > Nevermind, the fix didn't help. Occured again today :-(
> Right, I am not totally surprised, the difference between the two
> code paths should be a noop. This was just the only recent change
> related to xfs.
> I suppose you have HP clients on the other end of the wire here?
> Since this is an intermittent problem, how can you be totally sure
> it is actually XFS which is at fault?
> Steve Lord voice: +1-651-683-3511
> Principal Engineer, Filesystem Software email: lord@xxxxxxx