1 |
On Fri, Feb 13, 2015 at 9:36 AM, Yuri K. Shatroff <yks-uno@××××××.ru> wrote: |
2 |
> |
3 |
> The owner of a directory is able to delete any files in it. It would really |
4 |
> be weird otherwise. |
5 |
> |
6 |
|
7 |
I think, to be more precise, anybody with write and execute access to |
8 |
a directory (whether the owner or not) can remove files from a |
9 |
directory, unless the directory's sticky bit is set. If the sticky |
10 |
bit is set then only the owner of the directory can remove files not |
11 |
owned by themselves (ie, for /tmp). I believe having write access to |
12 |
the file itself is also sufficient to delete it. |
13 |
|
14 |
-- |
15 |
Rich |