From: Dave Kleikamp <shaggy@austin.ibm.com>
To: spencer.shepler@sun.com, Spencer Shepler <shepler@eng.sun.com>,
Michael Tokarev <mjt@tls.msk.ru>
Cc: Tobias Burnus <tobias.burnus@physik.fu-berlin.de>,
acl-devel@bestbits.at, linux-fsdevel@vger.kernel.org
Subject: Re: [Acl-Devel] Status of ACL patches regarding inclusion in the standard kernel?
Date: Tue, 8 Oct 2002 15:37:17 -0500 [thread overview]
Message-ID: <200210081537.17153.shaggy@austin.ibm.com> (raw)
In-Reply-To: <20021008200417.GB100396@dhcp-uaus08-128-212.sun.com>
On Tuesday 08 October 2002 15:04, Spencer Shepler wrote:
> On Tue, Michael Tokarev wrote:
> > Just a random thought (sorry if it was discussed before) - I don't
> > see why every filesystem with it's own unique layout etc should
> > store ACLs as xattrs - there may be different implementation
> > especially for ACLs but no xattrs at all (at the beginning of the
> > "ACL era", almost everyone agreed that ACL/xattrs subsystem should
> > be more-or-less universal, allowing many different layouts/concepts
> > (think NTFS ACLs vs POSIX ACLs) to be used). Well, conversion
> > routines may exists (if at all possible), but in some cases this
> > will be an overkill.
>
> This would certainly be true of NFSv4 where ACLs are part of the
> semantically defined attributes and are not part of the xattr space.
> Using [gs]et_posic_acl() would make the translation job
> straightforward for the NFS client/server.
The xattr space is broken down into namespaces that the fs's are free to
handle any way they wish, so even though the ACL's may come in as an
xattr, the fs can store it any way it chooses.
This is where I argue that IF we have a separate ACL interface, there's
no need to require that the xattr interface be used to store the ACL,
but since most filesystems will use xattrs, we should have a generic
function that stores/retrieves the ACL in the form of an xattr (and
caches the ACL for fast access).
If we decide NOT to have a separate ACL interface, the filesystem would
then deal with the ACL's based on the xattr namespace. It has the
freedom to actually store the ACL as an xattr, or in some other
fashion. In this case, I still argue for a generic get_posix_acl (not
a file operation) that calls the fs's get_xattr. I don't see a need
for every fs to implement this function.
--
David Kleikamp
IBM Linux Technology Center
prev parent reply other threads:[~2002-10-08 20:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.LNX.4.33.0210081954340.24129-100000@muriel.parsec.at>
2002-10-08 18:57 ` [Acl-Devel] Status of ACL patches regarding inclusion in the standard kernel? Dave Kleikamp
2002-10-08 19:33 ` Andreas Gruenbacher
2002-10-08 20:17 ` Dave Kleikamp
2002-10-08 19:46 ` Michael Tokarev
2002-10-08 20:04 ` Spencer Shepler
2002-10-08 20:37 ` Dave Kleikamp [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=200210081537.17153.shaggy@austin.ibm.com \
--to=shaggy@austin.ibm.com \
--cc=acl-devel@bestbits.at \
--cc=linux-fsdevel@vger.kernel.org \
--cc=mjt@tls.msk.ru \
--cc=shepler@eng.sun.com \
--cc=spencer.shepler@sun.com \
--cc=tobias.burnus@physik.fu-berlin.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 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.