Re: [RFC v6 03/40] vfs: Add MAY_DELETE_SELF and MAY_DELETE_CHILD permission flags
From: Andreas Gruenbacher
Date: Fri Aug 28 2015 - 17:08:10 EST
2015-08-28 22:44 GMT+02:00 J. Bruce Fields <bfields@xxxxxxxxxxxx>:
>> The MAY_DELETE_SELF permission does not override the sticky
>> directory check. It probably should.
>
> I guess it would basically just let the file owner delegate permission
> to delete your file to a non-owner? Makes sense to me to allow that.
Yes, independent of whether or not the process has MAY_DELETE_CHILD
access on the directory but not independent of the sticky directory
check, which is a bit of a weird combination.
Andreas
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/