Thread (2 messages) 2 messages, 2 authors, 2015-09-24

Re: [RFC v7 26/41] richacl: Apply the file masks to a richacl

From: Andreas Gruenbacher <hidden>
Date: 2015-09-23 22:14:40
Also in: linux-cifs, linux-fsdevel, linux-nfs, lkml

2015-09-23 23:05 GMT+02:00 J. Bruce Fields [off-list ref]:
On Wed, Sep 23, 2015 at 10:40:18PM +0200, Andreas Gruenbacher wrote:
quoted
2015-09-23 22:33 GMT+02:00 J. Bruce Fields [off-list ref]:
quoted
The same could be said if there's a group-i-belong-to:rwx::allow entry,
do we make that exception too?
We cannot because that would be incorrect for all other group members.
OK.  So people have to learn how the group mask works anyway, and now
they have to learn a special exception to that rule.

I don't like having this exception.  Or making the richacl->v4acl
translation dependent on the owner.

But I admit it's surprising to that an 0700 mask with
"bfields:rwx::allow" ACL denies access to a bfields-owned file.
I fully understand your point. This kind of acl is one of the the
first things people will try, and nobody is going to accept when
access is denied in this case though.

Things are made worse by the fact that Windows has the concept of
owner@ or group@ entries for inheritable permissions but not for
effective ones; it will always produce and expect "bfields:rwx::allow"
type entries instead of "owner@:rwx::allow" type entries. I'm not sure
if Samba could bridge that gap.

The fact that we cannot handle entries for groups the owner is in in a
similar way is not a big deal; it's not surprising that changing the
group file mode permission bits affects group entries.

Thanks,
Andreas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help