The user does not need to log out after adding themselves to the fuse
group in order to invoke sshfs. Simply type 'newgrp fuse', which will
change the user's current group to fuse. Then type 'id' to verify the
current group id has been changed as requested. Now, you can try
mounting a remote directory over SSH with sshfs.

Also, make sure you use 'fusermount -u mounting_point' instead of
'umount'. This avoids unnecessarily logging in as root when unmounting a
virtual directory mounted with fuse.

To recap:

1. Add yourself to the fuse group by typing gnome-control-center,
choosing Users and Groups, double clicking on the user to change in the
user listing box, clicking on the User tab, then checking "fuse"

   Alternatively, you can use groupmems as root, but the groupmems
command has been segfaulting for me, and I don't know why.

2. Change your current group id to fuse by typing

   newgrp fuse

3. Mount the remote directory over SSH using sshfs

   sshfs [EMAIL PROTECTED]:/remote/directory/to/mount
/home/myusername/my-mounting-point

4. Viola! When your done, unmount using:

   fusermount -u /home/myusername/my-mounting-point

Damian

-- 
sshfs : : Permission denied
https://bugs.launchpad.net/bugs/123501
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to