From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Cc: walt <w41ter@gmail.com>
Subject: Re: [gentoo-user] Re: dir is rwx but can't create file
Date: Thu, 29 Jul 2010 14:10:23 +0200 [thread overview]
Message-ID: <201007291410.23590.alan.mckinnon@gmail.com> (raw)
In-Reply-To: <i2rodj$1im$1@dough.gmane.org>
On Thursday 29 July 2010 13:24:29 walt wrote:
> On 07/28/2010 01:20 PM, Andrey Vul wrote:
> > Creating files in /tmp, /etc, /lib32, and /var return ENOENT (touch
> > /tmp/foo => strerror(ENOENT)).
> > However, this is done as root and the dirs are marked 755 root:root.
>
> Is the sticky bit set on /tmp?
>
> drwxrwxrwt 26 root root 36864 2010-07-29 04:15 tmp/
> ^
That will not make a difference.
Sticky bit on a directory does not affect creation of files, only WHO may
delete them (regardless of w permissions on /tmp)
--
alan dot mckinnon at gmail dot com
next prev parent reply other threads:[~2010-07-29 13:03 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-28 20:20 [gentoo-user] dir is rwx but can't create file Andrey Vul
2010-07-28 20:52 ` Alan McKinnon
2010-07-28 22:11 ` Bill Longman
2010-07-29 0:23 ` [gentoo-user] " Andrey Vul
2010-07-29 12:56 ` Andrey Vul
2010-07-29 13:00 ` Andrey Vul
2010-07-29 11:24 ` walt
2010-07-29 12:10 ` Alan McKinnon [this message]
2010-07-29 12:31 ` Alex Schuster
2010-07-30 5:34 ` Andrey Vul
2010-07-30 5:37 ` Andrey Vul
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201007291410.23590.alan.mckinnon@gmail.com \
--to=alan.mckinnon@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
--cc=w41ter@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox