From: Robert Marcano <robert-3g6LKK052cRzu6KWmfFNGwC/G2K4zDHf@public.gmane.org>
To: linux-nfs@vger.kernel.org
Subject: NFSv4 / POSIX ACL mapping bug?
Date: Tue, 26 Jul 2011 12:05:53 -0430 [thread overview]
Message-ID: <4E2EECE9.3080500@marcanoonline.com> (raw)
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
next reply other threads:[~2011-07-26 16:35 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-26 16:35 Robert Marcano [this message]
[not found] ` <4E2EECE9.3080500-3g6LKK052cRzu6KWmfFNGwC/G2K4zDHf@public.gmane.org>
2011-07-26 18:09 ` NFSv4 / POSIX ACL mapping bug? Robert Marcano
-- strict thread matches above, loose matches on Subject: below --
2011-07-26 14:43 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:47 ` 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E2EECE9.3080500@marcanoonline.com \
--to=robert-3g6lkk052crzu6kwmffngwc/g2k4zdhf@public.gmane.org \
--cc=linux-nfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.