linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Andreas Gruenbacher <agruen@suse.de>
Cc: Marius Aamodt Eriksen <marius@umich.edu>,
	Jeff Sedlak <jsedlak@umich.edu>,
	"J. Bruce Fields" <bfields@umich.edu>,
	linux-fsdevel@vger.kernel.org, nfs@lists.sourceforge.net
Subject: Re: [NFS] Problems with POSIX ACL <=> NFSv4 ACL mapping in mainline
Date: Sat, 24 Jun 2006 14:21:16 +0100	[thread overview]
Message-ID: <20060624132116.GA15734@infradead.org> (raw)
In-Reply-To: <200606231745.23344.agruen@suse.de>

On Fri, Jun 23, 2006 at 05:45:22PM +0200, Andreas Gruenbacher wrote:
> In addition, I could imagine that we'll optionally support local NFSv4-style 
> ACLs on specific file systems somewhen in the future.

Most likely not.  Let's not spread the NFSv4 ACL cancer more than absolutely
nessecary.

> * Don't map between POSIX ACLs and NFSv4 ACLs at all, and use a different
>   protocol for POSIX ACLs and for NFSv4 ACLs instead (e.g., version 4 of the
>   NFSACL protocol extension). The protocol extension is not currently
>   implemented in Solaris because current Solaris supports NFSv4 ACLs natively
>   instead of POSIX ACLs, and so they don't seem to have as strong a motivation
>   to keep POSIX ACLs working well as we currently do. The NFSACL protocol has
>   the huge advantage of supporting POSIX ACLs pretty well, and so a lot of the
>   overhead and complexity of doing the NFSv4 mapping would go away though.

We definitly should support NFSACL for Linux to Linux deployments to avoid
all that mess, yes.

> * Map back from NFSv4 ACLs to POSIX ACLs on the client side, so that
>   POSIX ACLs on the server will appear as POSIX ACLs on the client. This
>   would take away all the mess we currently have in user-space and limit the
>   mapping problems to the NFSv4 protocol, where it really occurs. We could
>   define an additional NFsv4 attribute that the server could use to declare
>   if it supports POSIX ACLs only, so that the client won't have to try to
>   convert from NFSv4 to POSIX ACLs for servers that have native NFSv4 ACLs.

That's probably useful if we want to support non-Linux NFSv4 servers.


      parent reply	other threads:[~2006-06-24 13:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-23 15:45 Problems with POSIX ACL <=> NFSv4 ACL mapping in mainline Andreas Gruenbacher
2006-06-23 16:06 ` J. Bruce Fields
2006-06-26 15:30   ` Andreas Gruenbacher
2006-06-26 16:23     ` J. Bruce Fields
2006-06-26 17:52     ` Andreas Dilger
2006-06-26 18:07       ` Andreas Gruenbacher
2006-06-26 18:57         ` Andreas Dilger
2006-06-24 13:21 ` Christoph Hellwig [this message]

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=20060624132116.GA15734@infradead.org \
    --to=hch@infradead.org \
    --cc=agruen@suse.de \
    --cc=bfields@umich.edu \
    --cc=jsedlak@umich.edu \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=marius@umich.edu \
    --cc=nfs@lists.sourceforge.net \
    /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;
as well as URLs for NNTP newsgroup(s).