1 |
On Thursday 29 July 2010 13:24:29 walt wrote: |
2 |
> On 07/28/2010 01:20 PM, Andrey Vul wrote: |
3 |
> > Creating files in /tmp, /etc, /lib32, and /var return ENOENT (touch |
4 |
> > /tmp/foo => strerror(ENOENT)). |
5 |
> > However, this is done as root and the dirs are marked 755 root:root. |
6 |
> |
7 |
> Is the sticky bit set on /tmp? |
8 |
> |
9 |
> drwxrwxrwt 26 root root 36864 2010-07-29 04:15 tmp/ |
10 |
> ^ |
11 |
|
12 |
|
13 |
That will not make a difference. |
14 |
Sticky bit on a directory does not affect creation of files, only WHO may |
15 |
delete them (regardless of w permissions on /tmp) |
16 |
|
17 |
|
18 |
|
19 |
-- |
20 |
alan dot mckinnon at gmail dot com |