lkml.org 
[lkml]   [2011]   [Sep]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH -V6 17/26] richacl: Permission check algorithm
Date
On Wed, 7 Sep 2011 17:50:22 -0400, "J. Bruce Fields" <bfields@fieldses.org> wrote:
> On Mon, Sep 05, 2011 at 10:55:39PM +0530, Aneesh Kumar K.V wrote:
> > From: Andreas Gruenbacher <agruen@kernel.org>
> >
> > As in the standard POSIX file permission model, each process is the
> > owner, group, or other file class. A process is
> >
> > - in the owner file class if it owns the file,
> > - in the group file class if it is in the file's owning group or it
> > matches any of the user or group entries, and
> > - in the other file class otherwise.
> >
> > Each file class is associated with a file mask.
> >
> > A richacl grants a requested access if the NFSv4 acl in the richacl
> > grants the requested permissions (according to the NFSv4 permission
> > check algorithm) and the file mask that applies to the process includes
> > the requested permissions.
>
> I assume that by default any ui normally recalculates an upper-bound
> mask automatically when you add an ace, as the posix setfacl does, so
> the user doesn't have to think about masks too much?
>

yes. richacl userspace command does this.

-aneesh



\
 
 \ /
  Last update: 2011-09-08 12:39    [W:0.103 / U:0.528 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site