Re: [PATCH] vfs: Add MAY_DELETE_SELF and MAY_DELETE_CHILD permission flags

2015-09-11 Thread J. Bruce Fields
On Sun, Sep 06, 2015 at 10:14:06AM +0200, Andreas Gruenbacher wrote: > [This replaces v7 of this patch; MAY_DELETE_SELF now properly overrides the > sticky check.] > > Normally, deleting a file requires MAY_WRITE access to the parent > directory. With richacls, a file may be deleted with MAY_DELE

[PATCH] vfs: Add MAY_DELETE_SELF and MAY_DELETE_CHILD permission flags

2015-09-06 Thread Andreas Gruenbacher
[This replaces v7 of this patch; MAY_DELETE_SELF now properly overrides the sticky check.] Normally, deleting a file requires MAY_WRITE access to the parent directory. With richacls, a file may be deleted with MAY_DELETE_CHILD access to the parent directory or with MAY_DELETE_SELF access to the f