From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OeSlS-00035M-1J for garchives@archives.gentoo.org; Thu, 29 Jul 2010 13:03:10 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2BA2FE0BE4 for ; Thu, 29 Jul 2010 13:03:09 +0000 (UTC) Received: from mail-ew0-f53.google.com (mail-ew0-f53.google.com [209.85.215.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 1B796E0B37 for ; Thu, 29 Jul 2010 12:13:54 +0000 (UTC) Received: by ewy19 with SMTP id 19so100151ewy.40 for ; Thu, 29 Jul 2010 05:13:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:cc:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=y7i4UGn2MbSkwVEdT43x+5ifoU3ociKeGUATjdo3GR4=; b=fQm2aSthJcsXoUMv+dCC4QS8AF4qie+M0LO/SRHBXHOi/f5boemrZRsHUymRMl8pun O/HUUx380AQWc+PIIUWRGgAUxhQDwJK834pWfj7MedSXjPgQLZHJeEf8Dm86GLq7S6fr 7ZnUbUqUlAyGYqKbAlvgsCD9ww3nRj7z53/zA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; b=N48oO7JZNkJiPxA5QKj4WGOob6+zNDsiegPcvjANU6J3Cjivq6UO0Vk9jfstF66CyZ YhBOzXSIUaGGHdvWeaO6i5Z069+/96XWj/t2RsWb3fJamgrx+qpeeZiLkDI+G5u/qwEZ Q73jeZMRZWA7f55VAY6aIyJLarJNkkUgzqBZE= Received: by 10.14.22.70 with SMTP id s46mr10628ees.21.1280405610367; Thu, 29 Jul 2010 05:13:30 -0700 (PDT) Received: from nazgul.localnet (196-210-183-170.dynamic.isadsl.co.za [196.210.183.170]) by mx.google.com with ESMTPS id a48sm1157442eei.19.2010.07.29.05.13.27 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 29 Jul 2010 05:13:28 -0700 (PDT) From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: dir is rwx but can't create file Date: Thu, 29 Jul 2010 14:10:23 +0200 User-Agent: KMail/1.13.5 (Linux/2.6.34-ck-r1; KDE/4.4.5; x86_64; ; ) Cc: walt References: In-Reply-To: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201007291410.23590.alan.mckinnon@gmail.com> X-Archives-Salt: 19f0ce71-445c-4a67-a5f1-c35879bf3897 X-Archives-Hash: 867497b6c04cb2f88d73448683bff570 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