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 1OeEsA-0004mi-Of for garchives@archives.gentoo.org; Wed, 28 Jul 2010 22:13:10 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 373C5E078C; Wed, 28 Jul 2010 22:11:57 +0000 (UTC) Received: from mail-px0-f181.google.com (mail-px0-f181.google.com [209.85.212.181]) by pigeon.gentoo.org (Postfix) with ESMTP id F2D55E078C for ; Wed, 28 Jul 2010 22:11:56 +0000 (UTC) Received: by pxi19 with SMTP id 19so1440380pxi.40 for ; Wed, 28 Jul 2010 15:11:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=eaqHTbQVbeAPIckkHqQ5Tjn0HsQMAzNdZaPRGHL6k3U=; b=CCb+9gAthCeNFlG5l/hKvwUbRHno36+++cZmhuyWMODcV1kSgmDVNBl/T8ZaHQELx4 cm0+QqKw/++2iFuj8pBk/4V41PStK6tc4Bl1DyYT579z11B0Orx05bW3QUnizsGRGICp /jpup1fdbOSLJqfjcQ2iPoELTMOkl7gsVPn5w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=GtXRQA+Y/sylxtXVOmR1QuzfCMPlDtKDLN1GZhWOOzafTksjzPnRkyT/JBgCrlubja uVNIEgZSnBYXHSxoijFkdfYsrR1tghocBnOADjifKfQEjLlp3atLm4QWKZwc5Gitn5mw QpoOKQo0MUW2BD3TeefGYpmC5JVPwJI6lko9U= Received: by 10.114.13.12 with SMTP id 12mr11908904wam.90.1280355116417; Wed, 28 Jul 2010 15:11:56 -0700 (PDT) Received: from [192.168.0.12] ([209.20.133.224]) by mx.google.com with ESMTPS id k23sm131843waf.5.2010.07.28.15.11.55 (version=SSLv3 cipher=RC4-MD5); Wed, 28 Jul 2010 15:11:55 -0700 (PDT) Message-ID: <4C50AB2A.3020601@gmail.com> Date: Wed, 28 Jul 2010 15:11:54 -0700 From: Bill Longman User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100727 Thunderbird/3.1.1 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] dir is rwx but can't create file References: <201007282252.31933.alan.mckinnon@gmail.com> In-Reply-To: <201007282252.31933.alan.mckinnon@gmail.com> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: d1c3f12b-9a6c-44f1-b3a1-6735af4c2140 X-Archives-Hash: d9c613ef4646f38bbc5b026efbc5e9df On 07/28/2010 01:52 PM, Alan McKinnon wrote: > On Wednesday 28 July 2010 22:20:17 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. >> df -i shows only 2% inode usage. >> Any explanation as to why a rwx-ed dir can't be written to? This is >> breaking quite a few of the init scripts. >> >> -- >> Andrey Vul >> begin-base64 600 sig >> bXNuLCBob21lOiBhbmRyZXkudnVsQGdtYWlsLmNvbQ0KdSBvZiB0OiBhbmRyZXkudnVsQHV0b3J >> v bnRvLmNhDQpzbXMsIHZvaWNlbWFpbDogNDE2MzAzOTkyMw0K >> ` >> end > > sounds like / is mounted read-only Do read-only filesystems typically reply ENOENT when trying to create a file? It's usually something like "read-only filesystem" in that case. ENOENT means it can't even find the file.