Page 1 of 1

[Solved]cannot mount file system with sshfs

Posted: Sat Nov 19, 2011 8:54 am
by yotama9
I'm trying to mount a file system with sshfs. When I simply try I get

Code: Select all

fuse: failed to open /dev/fuse: Permission denied


Reading here I tried ls:

Code: Select all

yotam@sumsum ~/Documents $ ls -lah /dev/fuse
crw-rw---- 1 root fuse 10, 229 Nov 19 13:00 /dev/fuse


So I tried to add myself to fuse:

Code: Select all

sudo usermod -a -G fuse yotam


But:

Code: Select all

yotam@sumsum ~/Documents $ groups
yotam sudo


I tried the GUI interface and I'm the only user on the fuse group.
(Using sudo, I can mount the file system).
So.... what now?

Re: cannot mount file system with sshfs

Posted: Sat Nov 19, 2011 4:23 pm
by yotama9
Reboot fixed this.

I have also posted the question at unix.stackexchange.com (some hours after posting here and somebody suggested me to try and re-login to add myself to a group

Re: cannot mount file system with sshfs

Posted: Wed Mar 28, 2012 3:28 am
by mjdtjm
yotama9 wrote:Reboot fixed this.

I have also posted the question at unix.stackexchange.com (some hours after posting here and somebody suggested me to try and re-login to add myself to a group


No need to reboot!
The changes on your group membership won't be effective until the next login.
So just logout & login again!