Re: [RFC v7 13/41] richacl: Check if an acl is equivalent to a file mode

2015-09-21 Thread Andreas Gruenbacher
2015-09-18 2:56 GMT+02:00 J. Bruce Fields : > On Thu, Sep 17, 2015 at 02:22:19PM -0400, bfields wrote: >> On Sat, Sep 05, 2015 at 12:27:08PM +0200, Andreas Gruenbacher wrote: >> > ACLs are considered equivalent to file modes if they only consist of >> > owner@, group@, and everyone@ entries, the

Re: [RFC v7 13/41] richacl: Check if an acl is equivalent to a file mode

2015-09-21 Thread Andreas Gruenbacher
2015-09-17 20:22 GMT+02:00 J. Bruce Fields : > On Sat, Sep 05, 2015 at 12:27:08PM +0200, Andreas Gruenbacher wrote: >> ACLs are considered equivalent to file modes if they only consist of >> owner@, group@, and everyone@ entries, the owner@ permissions do not >> depend on whether the owner is a

Re: [RFC v7 13/41] richacl: Check if an acl is equivalent to a file mode

2015-09-21 Thread J. Bruce Fields
On Mon, Sep 21, 2015 at 01:00:40PM -0400, Austin S Hemmelgarn wrote: > On 2015-09-21 10:38, J. Bruce Fields wrote: > >On Mon, Sep 21, 2015 at 09:59:07AM -0400, Austin S Hemmelgarn wrote: > >>On 2015-09-17 20:56, J. Bruce Fields wrote: > >>>On Thu, Sep 17, 2015 at 02:22:19PM -0400, bfields wrote: >

Re: [RFC v7 13/41] richacl: Check if an acl is equivalent to a file mode

2015-09-21 Thread Austin S Hemmelgarn
On 2015-09-21 10:38, J. Bruce Fields wrote: On Mon, Sep 21, 2015 at 09:59:07AM -0400, Austin S Hemmelgarn wrote: On 2015-09-17 20:56, J. Bruce Fields wrote: On Thu, Sep 17, 2015 at 02:22:19PM -0400, bfields wrote: On Sat, Sep 05, 2015 at 12:27:08PM +0200, Andreas Gruenbacher wrote: ACLs are

Re: [RFC v7 13/41] richacl: Check if an acl is equivalent to a file mode

2015-09-21 Thread J. Bruce Fields
On Mon, Sep 21, 2015 at 09:59:07AM -0400, Austin S Hemmelgarn wrote: > Mode equivalence get's even trickier when you throw in permissions > just beyond rwx Note by the way that the major technical achievement here is the reconciliation of two completely different evaluation algorithms.

Re: [RFC v7 13/41] richacl: Check if an acl is equivalent to a file mode

2015-09-21 Thread J. Bruce Fields
On Mon, Sep 21, 2015 at 09:59:07AM -0400, Austin S Hemmelgarn wrote: > On 2015-09-17 20:56, J. Bruce Fields wrote: > >On Thu, Sep 17, 2015 at 02:22:19PM -0400, bfields wrote: > >>On Sat, Sep 05, 2015 at 12:27:08PM +0200, Andreas Gruenbacher wrote: > >>>ACLs are considered equivalent to file modes

Re: [RFC v7 13/41] richacl: Check if an acl is equivalent to a file mode

2015-09-21 Thread Austin S Hemmelgarn
On 2015-09-17 20:56, J. Bruce Fields wrote: On Thu, Sep 17, 2015 at 02:22:19PM -0400, bfields wrote: On Sat, Sep 05, 2015 at 12:27:08PM +0200, Andreas Gruenbacher wrote: ACLs are considered equivalent to file modes if they only consist of owner@, group@, and everyone@ entries, the owner@

Re: [RFC v7 13/41] richacl: Check if an acl is equivalent to a file mode

2015-09-21 Thread Andreas Gruenbacher
2015-09-17 20:22 GMT+02:00 J. Bruce Fields : > On Sat, Sep 05, 2015 at 12:27:08PM +0200, Andreas Gruenbacher wrote: >> ACLs are considered equivalent to file modes if they only consist of >> owner@, group@, and everyone@ entries, the owner@ permissions do not >> depend on

Re: [RFC v7 13/41] richacl: Check if an acl is equivalent to a file mode

2015-09-21 Thread Andreas Gruenbacher
2015-09-18 2:56 GMT+02:00 J. Bruce Fields : > On Thu, Sep 17, 2015 at 02:22:19PM -0400, bfields wrote: >> On Sat, Sep 05, 2015 at 12:27:08PM +0200, Andreas Gruenbacher wrote: >> > ACLs are considered equivalent to file modes if they only consist of >> > owner@, group@, and

Re: [RFC v7 13/41] richacl: Check if an acl is equivalent to a file mode

2015-09-21 Thread J. Bruce Fields
On Mon, Sep 21, 2015 at 09:59:07AM -0400, Austin S Hemmelgarn wrote: > Mode equivalence get's even trickier when you throw in permissions > just beyond rwx Note by the way that the major technical achievement here is the reconciliation of two completely different evaluation algorithms.

Re: [RFC v7 13/41] richacl: Check if an acl is equivalent to a file mode

2015-09-21 Thread Austin S Hemmelgarn
On 2015-09-17 20:56, J. Bruce Fields wrote: On Thu, Sep 17, 2015 at 02:22:19PM -0400, bfields wrote: On Sat, Sep 05, 2015 at 12:27:08PM +0200, Andreas Gruenbacher wrote: ACLs are considered equivalent to file modes if they only consist of owner@, group@, and everyone@ entries, the owner@

Re: [RFC v7 13/41] richacl: Check if an acl is equivalent to a file mode

2015-09-21 Thread J. Bruce Fields
On Mon, Sep 21, 2015 at 01:00:40PM -0400, Austin S Hemmelgarn wrote: > On 2015-09-21 10:38, J. Bruce Fields wrote: > >On Mon, Sep 21, 2015 at 09:59:07AM -0400, Austin S Hemmelgarn wrote: > >>On 2015-09-17 20:56, J. Bruce Fields wrote: > >>>On Thu, Sep 17, 2015 at 02:22:19PM -0400, bfields wrote: >

Re: [RFC v7 13/41] richacl: Check if an acl is equivalent to a file mode

2015-09-21 Thread Austin S Hemmelgarn
On 2015-09-21 10:38, J. Bruce Fields wrote: On Mon, Sep 21, 2015 at 09:59:07AM -0400, Austin S Hemmelgarn wrote: On 2015-09-17 20:56, J. Bruce Fields wrote: On Thu, Sep 17, 2015 at 02:22:19PM -0400, bfields wrote: On Sat, Sep 05, 2015 at 12:27:08PM +0200, Andreas Gruenbacher wrote: ACLs are

Re: [RFC v7 13/41] richacl: Check if an acl is equivalent to a file mode

2015-09-21 Thread J. Bruce Fields
On Mon, Sep 21, 2015 at 09:59:07AM -0400, Austin S Hemmelgarn wrote: > On 2015-09-17 20:56, J. Bruce Fields wrote: > >On Thu, Sep 17, 2015 at 02:22:19PM -0400, bfields wrote: > >>On Sat, Sep 05, 2015 at 12:27:08PM +0200, Andreas Gruenbacher wrote: > >>>ACLs are considered equivalent to file modes

Re: [RFC v7 13/41] richacl: Check if an acl is equivalent to a file mode

2015-09-17 Thread J. Bruce Fields
On Thu, Sep 17, 2015 at 02:22:19PM -0400, bfields wrote: > On Sat, Sep 05, 2015 at 12:27:08PM +0200, Andreas Gruenbacher wrote: > > ACLs are considered equivalent to file modes if they only consist of > > owner@, group@, and everyone@ entries, the owner@ permissions do not > > depend on whether

Re: [RFC v7 13/41] richacl: Check if an acl is equivalent to a file mode

2015-09-17 Thread J. Bruce Fields
On Sat, Sep 05, 2015 at 12:27:08PM +0200, Andreas Gruenbacher wrote: > ACLs are considered equivalent to file modes if they only consist of > owner@, group@, and everyone@ entries, the owner@ permissions do not > depend on whether the owner is a member in the owning group, and no > inheritance

Re: [RFC v7 13/41] richacl: Check if an acl is equivalent to a file mode

2015-09-17 Thread J. Bruce Fields
On Sat, Sep 05, 2015 at 12:27:08PM +0200, Andreas Gruenbacher wrote: > ACLs are considered equivalent to file modes if they only consist of > owner@, group@, and everyone@ entries, the owner@ permissions do not > depend on whether the owner is a member in the owning group, and no > inheritance

Re: [RFC v7 13/41] richacl: Check if an acl is equivalent to a file mode

2015-09-17 Thread J. Bruce Fields
On Sat, Sep 05, 2015 at 12:27:08PM +0200, Andreas Gruenbacher wrote: > ACLs are considered equivalent to file modes if they only consist of > owner@, group@, and everyone@ entries, the owner@ permissions do not > depend on whether the owner is a member in the owning group, and no > inheritance

Re: [RFC v7 13/41] richacl: Check if an acl is equivalent to a file mode

2015-09-17 Thread J. Bruce Fields
On Sat, Sep 05, 2015 at 12:27:08PM +0200, Andreas Gruenbacher wrote: > ACLs are considered equivalent to file modes if they only consist of > owner@, group@, and everyone@ entries, the owner@ permissions do not > depend on whether the owner is a member in the owning group, and no > inheritance

Re: [RFC v7 13/41] richacl: Check if an acl is equivalent to a file mode

2015-09-17 Thread J. Bruce Fields
On Thu, Sep 17, 2015 at 02:22:19PM -0400, bfields wrote: > On Sat, Sep 05, 2015 at 12:27:08PM +0200, Andreas Gruenbacher wrote: > > ACLs are considered equivalent to file modes if they only consist of > > owner@, group@, and everyone@ entries, the owner@ permissions do not > > depend on whether

[RFC v7 13/41] richacl: Check if an acl is equivalent to a file mode

2015-09-05 Thread Andreas Gruenbacher
ACLs are considered equivalent to file modes if they only consist of owner@, group@, and everyone@ entries, the owner@ permissions do not depend on whether the owner is a member in the owning group, and no inheritance flags are set. This test is used to avoid storing richacls if the acl can be

[RFC v7 13/41] richacl: Check if an acl is equivalent to a file mode

2015-09-05 Thread Andreas Gruenbacher
ACLs are considered equivalent to file modes if they only consist of owner@, group@, and everyone@ entries, the owner@ permissions do not depend on whether the owner is a member in the owning group, and no inheritance flags are set. This test is used to avoid storing richacls if the acl can be