xfs
[Top] [All Lists]

Re: NFS and umask

To: Timothy Shimmin <tes@xxxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: NFS and umask
From: James Pearson <james-p@xxxxxxxxxxxxxxxxxx>
Date: Mon, 25 Mar 2002 11:27:35 +0000
Cc: linux-xfs@xxxxxxxxxxx, seth.mos@xxxxxxxxx
Organization: Moving Picture Company
References: <3C98A887.C4E1FFCD@xxxxxxxxxxxxxxxxxx> <20020325162044.C5356@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
Thanks for the info - given that the XFS 1.0.2 v2.4.14-xfs kernel was
available before January 10 2002, then, I assume, disabling ACLs will
make no difference with this kernel?

As our users have a default umask of 2, setting the default ACL
equivalent to a  directory with '0775' seems to be a suitable work round
for the time being ... does this sound like a sensible thing to do?

I notice there is nothing in the XFS FAQ about this problem - in fact
the FAQ states:

'So far there are no more known problems with XFS and NFS since then
(mid-march 2001)'

James Pearson


Timothy Shimmin wrote:
> 
> Hi James,
> 
> On Wed, Mar 20, 2002 at 03:19:35PM +0000, James Pearson wrote:
> > I've just had the problem with mkdir ignoring umask when creating
> > directories on Linux XFS file systems mounted over NFS.
> >
> > I'm using XFS 1.0.2 with kernel 2.4.14-xfs
> >
> > Searching the archives, shows that this is a known issue - but are there
> > any workarounds/fixes?
> >
> This is probably related to a bug with the handling of
> the umask in the XFS/ACL code.
> (if a default ACL doesn't exist then xfs incorrectly applies
>  the umask in the nfsd case)
> 
> With ACLs disabled, this bug was fixed in the xfs-kernel
> on January 10 2002.
> 
> With ACLs enabled, this bug still exists and
> possible solutions are currently being discussed.
> 
> --Tim


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