[Top] [All Lists]

Re: Mandrake 8.1 exhibits xfs/nfs umask problem

To: linux-xfs@xxxxxxxxxxx
Subject: Re: Mandrake 8.1 exhibits xfs/nfs umask problem
From: Shiv Sikand <sikand@xxxxxxxxxxxxxx>
Date: Mon, 28 Jan 2002 09:11:06 -0800
References: <23D04BDBA646D411BDDD00D0B774B53904602B45@xxxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20010914
What I discovered last night is that there is no default ACL set. When a default acl is set, everything works ok.

What I am trying to understand is the change in behaviour between our original setup and the Mandrake 8.1 setup.

In both setups, there is no default ACL set, yet only the systems running 8.1 exhibit the umask 022 problem when exporting an xfs file system with nfs.

Newly created files do not appear to exhibit the problem - only newly created directories.


Christian, Chip wrote:

This sounds like it could, maybe, possibly, be related to what I
encountered some time back.  Bottom line is that the permission
bits of a newly created file are a logical and of the default acl
of the containing directory and the bits passed to creat.  Do you
have a default acl set on the directory involved, and does it have the bits masked off that you see as missing?


-----Original Message-----
From: Shiv Sikand [mailto:sikand@xxxxxxxxxxxxxx]
Sent: Sunday, January 27, 2002 4:14
To: linux-xfs@xxxxxxxxxxx
Cc: chmouel@xxxxxxxxxxxxxxxx
Subject: Mandrake 8.1 exhibits xfs/nfs umask problem

We have observed that the Mandrake 8.1 kernel exhibits a umask problem when xfs 
volumes are exported with nfs.

If a new directory is created via nfs on an xfs volume, the umask from the current process is not inherited.
Reading the mail archive, it looks like this problem or something extremely 
similar was fixed in the XFS tree a long time ago.

We do not observe this problem with 2.4.5-xfs-1.0.1 which has been our 
production kernel  prior to the arrival of XFS support in Mandrake.

Can someone please take a look at the xfs code in the Mandrake build and 
confirm the problem.


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