From: mdw@linuxbox.com
To: Joschi Brauchle <joschi.brauchle@tum.de>
Cc: "linux-nfs@vger.kernel.org" <linux-nfs@vger.kernel.org>,
"Fehenberger, Tobias" <tobias.fehenberger@tum.de>,
"Stinner, Markus" <markus.stinner@tum.de>,
Tasnad Kernetzky <tasnad.kernetzky@tum.de>
Subject: Re: Question about NFS4 facls in combination with a GIT shared bare repo on NFSv4 share
Date: Mon, 16 Feb 2015 16:35:29 -0500 [thread overview]
Message-ID: <20150216213528.GA27453@soma.private.linuxbox.com> (raw)
In-Reply-To: <54E1F532.5030703@tum.de>
On Mon, Feb 16, 2015 at 02:48:34PM +0100, Joschi Brauchle wrote:
...
> Question 3:
> ==================
> Note that the problem is NOT solved with this ACL:
> ---------------
> /nfsv4/share # nfs4_getfacl repodir
> A:fdg:GROUP@:rwaDxtTnNcCoy
> ....
> /nfsv4/share # ls -l repodir
> drwxrwsr-x 7 myuser mygroup 4096 Feb 16 14:12 repodir/
> ---------------
...
I fancy I know something about nfsv4 acls, and I have to confess I can't
figure out what should be happening in your case, because you aren't
including enough detail for me to decide. Which means I also can't
figure out where or what problem you're having, although I do agree
getting an error on "close" suggests something made a pretty wonky
decision. I can't guarantee to be helpful in any case, but if you don't
get a better answer from somebody who knows more about your setup,
the following might help:
In order to figure out what "should" happen - complete acls, group membership, etc.
Your "...." could hide an awful lot of surprises.
You speak of "domains" - what sort are these and why do you think
they be considered the same as "@GROUP"?
Client & server identities and groups might map differently - is this the case here?
what is the fileserver running? netapp? solaris? linux nfsd?? something else?
Presumably your client is linux - what version? If from a distribution
which distro & package version?
Can you demonstrate your problem happen with dd or cp? Or does it only
happen with git?
Are you using gssapi? (better for tracing purposes if you can do this without.)
Can you record a network trace of the bad thing happening? (this will
point whether it's a client or server side problem.)
Possibly helpful to know,:
unix mode permissions work differently than an acl,
with unix modes,
owner permissions eclipse group permissions.
with acls,
group permissions add to owner permissions.
To accurately map unix mode bits into nfsv4 acls, you have to also
include 'deny' entries to keep groups from adding permissions the user
doen't have.
-Marcus Watts
next prev parent reply other threads:[~2015-02-16 21:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-16 13:48 Question about NFS4 facls in combination with a GIT shared bare repo on NFSv4 share Joschi Brauchle
2015-02-16 21:35 ` mdw [this message]
2015-02-17 13:43 ` Joschi Brauchle
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=20150216213528.GA27453@soma.private.linuxbox.com \
--to=mdw@linuxbox.com \
--cc=joschi.brauchle@tum.de \
--cc=linux-nfs@vger.kernel.org \
--cc=markus.stinner@tum.de \
--cc=tasnad.kernetzky@tum.de \
--cc=tobias.fehenberger@tum.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox