From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stef Bon Subject: Re: sshfs and autofs Date: Tue, 22 Dec 2009 20:08:24 +0100 Message-ID: <4B311928.9070503@bononline.nl> References: <1261107485-sup-320@nixos> <1261173402-sup-9510@nixos> <4B2E48C7.8010509@bononline.nl> <1261391275-sup-7258@nixos> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1261391275-sup-7258@nixos> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: autofs-bounces@linux.kernel.org Errors-To: autofs-bounces@linux.kernel.org Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Marc Weber Cc: autofs Marc Weber wrote: >>> # ls -l /auto >>> ls: cannot access /auto/mlin: Permission denied >>> total 0 >>> d????????? ? ? ? ? ? mlin >>> >>> >> Well the question marks mean that glibc cannot figure out the >> permissions. This means probably >> that the mount has not been succesfull. >> > It was. The user can access it. But root can't. > > >> Does this work. I do not know anything about ssh agents. >> > Than you should start to learn at least some basics. > An ssh-agent is a process which keeps your "passwords" in memory to > unlock the .ssh/id_* keys. > Of course it works. I'm using it. > Wow, I'm just making clear that I do not know anything these agents. I'm just asking you about it, but not doubting your abilities. > > >> I n my construction I'm using the following command: >> PasswordAuthentication='no' -o IdentityFile="$homedir/.ssh/id_dsa" -o >> > This id_dsa, is it protected by password? > If you use google to find out how to use automount and sshfs you'll find > many instructions about how to generate a key with empty password and > how to configure automount. However using an empty password is not an > option for me. > Here again I'm trying to help here. I'm just trying to figure out (see above) how your setup works, and I try to be of some help here. But it looks if you already know everything, and it looks as you don't want to be helped. Be a little bit more specific and understand that somebody else does not understand your setup immediatly, Stef Bon > >> the directory /mnt/mount.md5key/%USER% >> is owned by the user and has permissions 700, so no other user except >> > How do you assign these permissions 700 ? > I didn't suceed > > Marc Weber > >