|
From: | Matthew Woehlke |
Subject: | Re: RM disregards file level permissions and uses directory permissions instead. |
Date: | Wed, 16 Apr 2008 20:10:29 -0500 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.0 |
Eric Blake wrote:
In particular, the EACCES errors on unlink() mention that without the sticky bit, all you need is write access to the directory (and your directory is world writable); with the sticky bit set, you must also own the directory and file.
^^^To stave off confusion... I think you meant "or"? Surely POSIX doesn't state that I cannot delete my own file in a root-owned directory with go+w,+t set ;-). (The preceding sentence presumes that "I" am not root, of course.)
-- Matthew > pinotree uses the large trout on tsdgeos and PutHuhn :) > PutHuhn runs > tsdgeos lights a fire and eats the trout(with apologies to Pino Toscano, PutHuhn and Albert Astals Cid, who came up with this entirely on their own)
[Prev in Thread] | Current Thread | [Next in Thread] |