How do I make sshfs work in Debian? (I get /dev/fuse: Permission denied )
Solution 1:
For some reason, Debian configures FUSE to require users to be in the fuse
group.
Run gpasswd -a username fuse
as root, then log out and log in again. (Important step.)
Solution 2:
There is a bug report indicating that Debian Wheezy (which seems to have the version 2.9.0-2 of the fuse package, the bug is reported fixed in 2.9.0-3) may set wrong permissions for /dev/fuse
(crw------T 1 root root
in my case).
As stated around the comments of the earlier posts, this can be fixed by running the following commands as root:
chmod g+rw /dev/fuse
chgrp fuse /dev/fuse
Also remember to add your user to the fuse
group with, e.g., gpasswd -a username fuse
.
Solution 3:
Changing permissions ('sudo chmod g+rw /dev/fuse', the above omits the 'r') did work for me (in addition of course to adding my user to the fuse group).
Solution 4:
I ran into the same /dev/fuse permission denied problem (unrelated the sshfs). In my case the fuse package was not installed. The package provides all the basic necessities like the mount tools, sysfs control, a new "fuse" group, and inode permission (managed by udev).
# apt-get install fuse
# usermod -a -G fuse <username>
# modprobe fuse
Last command loads the kernel module, and the kernel tells udev to set the permissions.