I've moved from Ubuntu to Debian on a machine and all my sshfs mounting scripts fail with
fuse: failed to open /dev/fuse: Permission denied
now. Am I missing something simple?
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
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
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.
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.
I got the same problem. Turned out the permission for /dev/fuse was the following. I did the chmod command and it works fine. Don't know how it got into this state. It was working yesterday.
$ ls -l /dev/fuse crw-rw---T 1 root fuse 10, 229 May 4 16:41 /dev/fuse chmod a+rw /dev/fuse #now it works fine!