public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alan McKinnon <alan@linuxholdings.co.za>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] No access as normal user to my own.ssh-folder
Date: Thu, 27 Sep 2007 11:56:17 +0200	[thread overview]
Message-ID: <200709271156.17162.alan@linuxholdings.co.za> (raw)
In-Reply-To: <20070926181046.563f2ad5@pascal.spore.ath.cx>

On Thursday 27 September 2007, Dan Farrell wrote:
> On Wed, 26 Sep 2007 21:21:26 +0200
>
> Alan McKinnon <alan@linuxholdings.co.za> wrote:
> > Ouch. That's file system corruption. You need to fsck that disk
> > right now. I once saw similar stuff on a reiser filesystem and the
> > only thing that helped was --rebuild-tree. Good luck on your end.
>
> Wrong!  In this case the user probably has execute permissions on the
> directory so they can list the file names, but doesn't have read
> permissions on the files in the directory, so ls can't list the
> permissions, attributes, & so on.

Ah yes, you are right. I missed the 'd' in the 'd????????' part of the 
output, my bad.

If Herbert hasn't gotten this fixed yet, here are working permissions 
for the .ssh dirctory and contents;

alan@nazgul ~ $ ll -d /home/alan/.ssh/
drwx------ 2 alan alan 80 Feb 24  2007 /home/alan/.ssh//

alan@nazgul ~ $ ll /home/alan/.ssh/
total 13
drwx------  2 alan alan   80 Feb 24  2007 ./
drwxr-xr-x 96 alan alan 5088 Sep 27 09:01 ../
-rw-r--r--  1 alan alan 5229 Sep 10 22:44 known_hosts

alan


-- 
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
-- 
gentoo-user@gentoo.org mailing list



      reply	other threads:[~2007-09-27 10:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-26 18:59 [gentoo-user] No access as normal user to my own.ssh-folder Herbert Laubner
2007-09-26 19:12 ` Elias Probst
2007-09-26 19:16 ` Mick
2007-09-26 19:38   ` [gentoo-user] No access as normal user to my own.ssh-folder [SOLVED] Herbert Laubner
2007-09-26 19:21 ` [gentoo-user] No access as normal user to my own.ssh-folder Alan McKinnon
2007-09-26 19:41   ` Herbert Laubner
2007-09-26 23:10   ` Dan Farrell
2007-09-27  9:56     ` Alan McKinnon [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=200709271156.17162.alan@linuxholdings.co.za \
    --to=alan@linuxholdings.co.za \
    --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