Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Cc: walt <w41ter@×××××.com>
Subject: Re: [gentoo-user] Re: dir is rwx but can't create file
Date: Thu, 29 Jul 2010 13:03:10
Message-Id: 201007291410.23590.alan.mckinnon@gmail.com
In Reply to: [gentoo-user] Re: dir is rwx but can't create file by walt
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