Gentoo Archives: gentoo-user

From: Alan McKinnon <alan@××××××××××××××××.za>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] No access as normal user to my own.ssh-folder
Date: Thu, 27 Sep 2007 10:11:57
Message-Id: 200709271156.17162.alan@linuxholdings.co.za
In Reply to: Re: [gentoo-user] No access as normal user to my own.ssh-folder by Dan Farrell
1 On Thursday 27 September 2007, Dan Farrell wrote:
2 > On Wed, 26 Sep 2007 21:21:26 +0200
3 >
4 > Alan McKinnon <alan@××××××××××××××××.za> wrote:
5 > > Ouch. That's file system corruption. You need to fsck that disk
6 > > right now. I once saw similar stuff on a reiser filesystem and the
7 > > only thing that helped was --rebuild-tree. Good luck on your end.
8 >
9 > Wrong! In this case the user probably has execute permissions on the
10 > directory so they can list the file names, but doesn't have read
11 > permissions on the files in the directory, so ls can't list the
12 > permissions, attributes, & so on.
13
14 Ah yes, you are right. I missed the 'd' in the 'd????????' part of the
15 output, my bad.
16
17 If Herbert hasn't gotten this fixed yet, here are working permissions
18 for the .ssh dirctory and contents;
19
20 alan@nazgul ~ $ ll -d /home/alan/.ssh/
21 drwx------ 2 alan alan 80 Feb 24 2007 /home/alan/.ssh//
22
23 alan@nazgul ~ $ ll /home/alan/.ssh/
24 total 13
25 drwx------ 2 alan alan 80 Feb 24 2007 ./
26 drwxr-xr-x 96 alan alan 5088 Sep 27 09:01 ../
27 -rw-r--r-- 1 alan alan 5229 Sep 10 22:44 known_hosts
28
29 alan
30
31
32 --
33 Optimists say the glass is half full,
34 Pessimists say the glass is half empty,
35 Developers say wtf is the glass twice as big as it needs to be?
36
37 Alan McKinnon
38 alan at linuxholdings dot co dot za
39 +27 82, double three seven, one nine three five
40 --
41 gentoo-user@g.o mailing list