All of lore.kernel.org
 help / color / mirror / Atom feed
* NFSv4 / POSIX ACL mapping bug?
@ 2011-07-26 14:43 Robert Marcano
  2011-07-26 18:33 ` Andy Adamson
  2011-07-27 15:47 ` NFSv4 / POSIX ACL mapping bug? J. Bruce Fields
  0 siblings, 2 replies; 11+ messages in thread
From: Robert Marcano @ 2011-07-26 14:43 UTC (permalink / raw)
  To: linux-nfs

Hi, This question is probably too simple for this nfs developer list, 
but I am intrigued to know if this is a bug or not, I do not find any 
other reference to anyone with this problem

Ineed some help clarifying this issue in order to know if this is a bug 
or limits of the NFSv4 / POSIX ACL mapping before reporting it

Creating a directory on the server with the following POSIX ACLs, rwx 
for the group "sharedgroup" and same defaults:

############################################################
# file: directory
# owner: root
# group: root
user::rwx
group::r-x
group:sharedgroup:rwx
mask::rwx
other::---
default:user::rwx
default:group::r-x
default:group:sharedgroup:rwx
default:mask::rwx
default:other::---
############################################################

Creating files with the same user with umask 022 on the server an on the 
NFS client, the files do not get the same POSIX ACL mask:

############################################################
# file: client
# owner: test
# group: testgroup
user::rw-
group::r-x                   #effective:r--
group:sharedgroup:rwx        #effective:r--
mask::r--
other::r--

# file: server
# owner: test
# group: testgroup
user::rw-
group::r-x                   #effective:r--
group:sharedgroup:rwx        #effective:rw-
mask::rw-
other::r--
############################################################

Is this normal or a bug?, My interpretation is that even that the 
mapping of the ACLs is not 100% perfect this simple example should not 
be a problem. Is it impossible using NFS to create a shared directory 
for a group of users?

Thanks in advance

^ permalink raw reply	[flat|nested] 11+ messages in thread
* NFSv4 / POSIX ACL mapping bug?
@ 2011-07-26 16:35 Robert Marcano
       [not found] ` <4E2EECE9.3080500-3g6LKK052cRzu6KWmfFNGwC/G2K4zDHf@public.gmane.org>
  0 siblings, 1 reply; 11+ messages in thread
From: Robert Marcano @ 2011-07-26 16:35 UTC (permalink / raw)
  To: linux-nfs

Hi, This question is probably too simple for this nfs developer list, 
but I am intrigued to know if this is a bug or not, I do not find any 
other reference to anyone with this problem

Ineed some help clarifying this issue in order to know if this is a bug 
or limits of the NFSv4 / POSIX ACL mapping before reporting it

Creating a directory on the server with the following POSIX ACLs, rwx 
for the group "sharedgroup" and same defaults:

############################################################
# file: directory
# owner: root
# group: root
user::rwx
group::r-x
group:sharedgroup:rwx
mask::rwx
other::---
default:user::rwx
default:group::r-x
default:group:sharedgroup:rwx
default:mask::rwx
default:other::---
############################################################

Creating files with the same user with umask 022 on the server an on the 
NFS client, the files do not get the same POSIX ACL mask:

############################################################
# file: client
# owner: test
# group: testgroup
user::rw-
group::r-x                   #effective:r--
group:sharedgroup:rwx        #effective:r--
mask::r--
other::r--

# file: server
# owner: test
# group: testgroup
user::rw-
group::r-x                   #effective:r--
group:sharedgroup:rwx        #effective:rw-
mask::rw-
other::r--
############################################################

Is this normal or a bug?, My interpretation is that even that the 
mapping of the ACLs is not 100% perfect this simple example should not 
be a problem. Is it impossible using NFS to create a shared directory 
for a group of users?

Thanks in advance

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-08-02  1:09 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-26 14:43 NFSv4 / POSIX ACL mapping bug? Robert Marcano
2011-07-26 18:33 ` Andy Adamson
2011-07-26 19:29   ` Robert Marcano
2011-07-26 19:33     ` Robert Marcano
2011-07-27 15:18   ` NFSv4 / POSIX ACL mapping bug? (more tests) Robert Marcano
2011-07-27 15:47 ` NFSv4 / POSIX ACL mapping bug? J. Bruce Fields
2011-07-27 16:17   ` Robert Marcano
2011-07-28  4:13     ` Vladimir Elisseev
2011-08-02  1:09     ` J. Bruce Fields
2011-07-26 16:35 Robert Marcano
     [not found] ` <4E2EECE9.3080500-3g6LKK052cRzu6KWmfFNGwC/G2K4zDHf@public.gmane.org>
2011-07-26 18:09   ` Robert Marcano

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.