[aklug] Re: mounting with sshfs (Debian Lenny)

From: Ryan <carbonfreeze@gmail.com>
Date: Sun Oct 26 2008 - 23:32:42 AKDT

On Sun, 26 Oct 2008 22:55:24 -0800
Christopher Howard <choward@indicium.us> wrote:

> Hi. I'm trying to get an ssh connection mounted to a directory in my
> home directory (using my user-level account).
>
> I used this command:
> sshfs
> myusername@example.com:/home/myusername/ /home/myusername/example.com/
>
> But then I received the error
> fuse: failed to open /dev/fuse: Permission denied
>
> I went ahead and changed the permissions of /dev/fuse (while
> wondering if that was really a secure thing to do...)
>
> Tried again, but then I received this message:
> fuse: failed to exec fusermount: Permission denied
>
> Before I go ripping anymore holes in my system security, I thought
> I'd check with you guys. Is this really something that I have to do
> as root?
>
> I tried adding my user to the fuse group, but that didn't seem to
> work. Maybe extra sudo permissions would be more appropriate...?
>

Works fine for me in hardy as non-root, did you logout after adding your
user to the fuse group? Is the fuse module modprobed?

Also if you just call
sshfs user@host: mountpoint
it will automatically mount the user's home directory.
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Sun Oct 26 23:33:04 2008

This archive was generated by hypermail 2.1.8 : Sun Oct 26 2008 - 23:33:04 AKDT