Messages in this thread | | | Date | Mon, 28 Sep 2015 18:51:47 +0200 | Subject | Re: [PATCH v8 10/41] richacl: Permission check algorithm | From | Andreas Grünbacher <> |
| |
2015-09-28 18:29 GMT+02:00 J. Bruce Fields <bfields@fieldses.org>: > On Mon, Sep 28, 2015 at 06:25:23PM +0200, Andreas Grünbacher wrote: >> 2015-09-28 18:08 GMT+02:00 J. Bruce Fields <bfields@fieldses.org>: >> > The above also skips the following group_mask application on any unix >> > group. >> >> Really? How does it do that? > > Sorry, I meant "unix user", not "unix group"!
Indeed, that's a bit tricky. Probably worth changing if just for clarity:
- goto entry_matches_owner; + if (uid_eq(current_fsuid(), inode->i_uid)) + goto entry_matches_owner;
Thanks, Andreas
| |