Gentoo Archives: gentoo-user

From: Andrey Vul <andrey.vul@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: dir is rwx but can't create file
Date: Fri, 30 Jul 2010 05:35:59
Message-Id: AANLkTi=GkZGjSYnq8T4+BuXRhuJPr9DRAUJ5rRQHsApq@mail.gmail.com
In Reply to: Re: [gentoo-user] Re: dir is rwx but can't create file by Alex Schuster
1 On Thu, Jul 29, 2010 at 08:31, Alex Schuster <wonko@×××××××××.org> wrote:
2 > walt writes:
3 >
4 >> On 07/28/2010 01:20 PM, Andrey Vul wrote:
5 >> > Creating files in /tmp, /etc, /lib32, and /var return ENOENT (touch
6 >> > /tmp/foo =>  strerror(ENOENT)).
7 >> > However, this is done as root and the dirs are marked 755 root:root.
8 >
9 > Are all these directories located on the root file system?
10 >
11 >> Is the sticky bit set on /tmp?
12 >>
13 >> drwxrwxrwt  26 root root 36864 2010-07-29 04:15 tmp/
14 >>           ^
15 >
16 > Well, it set or not, this would not prevent the creation of files.
17 >
18 > I have no idea what's going on here. I'd force a fsck (touch /forcefsck;
19 > reboot) to make sure it's no file system problem. And what about a live-
20 > cd, does the problem happen then, too?
21 >
22
23 fsck -f followed by use of USB-SATA bridge seems to work. However, my
24 laptop just died, so I can't really test it on the laptop.

Replies

Subject Author
Re: [gentoo-user] Re: dir is rwx but can't create file Andrey Vul <andrey.vul@×××××.com>