public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Andrey Vul <andrey.vul@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: dir is rwx but can't create file
Date: Fri, 30 Jul 2010 01:37:29 -0400	[thread overview]
Message-ID: <AANLkTikmGAHn-veGUJGzNAK3rpyQZtp1hz4eb6T4kL4D@mail.gmail.com> (raw)
In-Reply-To: <AANLkTi=GkZGjSYnq8T4+BuXRhuJPr9DRAUJ5rRQHsApq@mail.gmail.com>

On Fri, Jul 30, 2010 at 01:34, Andrey Vul <andrey.vul@gmail.com> wrote:
> On Thu, Jul 29, 2010 at 08:31, Alex Schuster <wonko@wonkology.org> wrote:
>> walt writes:
>>
>>> 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.
>>
>> Are all these directories located on the root file system?
>>
>>> Is the sticky bit set on /tmp?
>>>
>>> drwxrwxrwt  26 root root 36864 2010-07-29 04:15 tmp/
>>>           ^
>>
>> Well, it set or not, this would not prevent the creation of files.
>>
>> I have no idea what's going on here. I'd force a fsck (touch /forcefsck;
>> reboot) to make sure it's no file system problem. And what about a live-
>> cd, does the problem happen then, too?
>>
>
> fsck -f followed by use of USB-SATA bridge seems to work. However, my
> laptop just died, so I can't really test it on the laptop.
>

Quoting fsck.jfs : "Incorrect link counts have been detected. Will correct."
Apparently, some subtle data corruption was invisible by fsck -p but
noticed by fsck -f.
A corrupt inode does explain why the directory was somehow 555 in behavior.



      reply	other threads:[~2010-07-30  5:38 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
2010-07-29 12:31   ` Alex Schuster
2010-07-30  5:34     ` Andrey Vul
2010-07-30  5:37       ` Andrey Vul [this message]

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=AANLkTikmGAHn-veGUJGzNAK3rpyQZtp1hz4eb6T4kL4D@mail.gmail.com \
    --to=andrey.vul@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /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