[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHc6FU41cZWJZ=4EZmBKwfhM4HPDBG9Gxuq9DUeLt2t0Lq4B=Q@mail.gmail.com>
Date: Fri, 28 Aug 2015 23:08:00 +0200
From: Andreas Gruenbacher <agruenba@...hat.com>
To: "J. Bruce Fields" <bfields@...ldses.org>
Cc: Andreas Gruenbacher <andreas.gruenbacher@...il.com>,
linux-kernel@...r.kernel.org,
linux-fsdevel <linux-fsdevel@...r.kernel.org>,
linux-nfs@...r.kernel.org, linux-api@...r.kernel.org,
linux-cifs@...r.kernel.org, linux-security-module@...r.kernel.org
Subject: Re: [RFC v6 03/40] vfs: Add MAY_DELETE_SELF and MAY_DELETE_CHILD
permission flags
2015-08-28 22:44 GMT+02:00 J. Bruce Fields <bfields@...ldses.org>:
>> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists