xfs
[Top] [All Lists]

Re: link() messes up file attributes

To: matt_zinkevicius@xxxxxx ("ZINKEVICIUS,MATT (HP-Loveland,ex1)")
Subject: Re: link() messes up file attributes
From: Tad Dolphay <tbd@xxxxxxx>
Date: Tue, 8 Jan 2002 20:43:56 -0600 (CST)
Cc: lord@xxxxxxx ('Steve Lord'), linux-xfs@xxxxxxxxxxx
In-reply-to: <F341E03C8ED6D311805E00902761278C07EFA85E@xfc04.fc.hp.com> from "ZINKEVICIUS,MATT (HP-Loveland,ex1)" at Jan 08, 2002 04:46:31 PM
Sender: owner-linux-xfs@xxxxxxxxxxx
> 
> Okay here is the current situation...
> 
> Without your patch:
> over NFSv2: open new file with 666 permission creates file with 644
> permissions
> over NFSv3: open new file works fine, but hard-linking changes file perm to
> 644
> 
> With your path:
> over NFSv2: (same as above)
> over NFSv3: Works fine
> 
> So you patch does have some affect.
> 
I vaguely remember a similar problem reported before. If I remember correctly,
it had something to do with the default acls on the exported directory. Could
you do a "chacl -l ." on the exported directory to check the default acls
and then possibly do "chacl -d u::rwx,g::rwx,o::rwx ." to set the default
acls. Then see if the problem goes away. 

Tad
> --Matt
> 
> > -----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
> > 
> > -- 
> > 
> > Steve Lord                                      voice: +1-651-683-3511
> > Principal Engineer, Filesystem Software         email: lord@xxxxxxx
> > 
> 


<Prev in Thread] Current Thread [Next in Thread>