Ubuntu: fuse: failed to exec fusermount: Permission denied

Ubuntu Linux discussion forum.

Ubuntu: fuse: failed to exec fusermount: Permission denied

Postby kamil on February 26th, 2008, 12:29 am

Default sshfs and fuse installs on Ubuntu Gutsy lack adequate permission settings. As a consequence you may not be able to sshfs mount remote directories.

$ sshfs server:/path/ /mnt/path/
fuse: failed to exec fusermount: Permission denied

To fix the above output run:
$ sudo chmod +x /bin/fusermount

Running the sshfs mount again results in another error:
$ sshfs server:/path/ /mnt/path/
fusermount: failed to open /etc/fuse.conf: Permission denied

The following line can be used to fix
$ sudo chmod a+rwx /etc/fuse.conf

Note that you may have to redo these steps after reboot or place them is any of the start-up files.
User avatar
kamil
Linux Adept
 
Posts: 118
Joined: January 18th, 2008, 1:22 am
Location: Brisbane, Australia

Re: Ubuntu: fuse: failed to exec fusermount: Permission denied

Postby QuantumKnot on February 26th, 2008, 4:20 pm

That's interesting. On Fedora (the best of the best), the only thing you need to do is add yourself to the 'fuse' group (as fusermount belongs to the 'fuse' group and has executable permission set) :D
Image
User avatar
QuantumKnot
Member
 
Posts: 99
Joined: January 21st, 2008, 11:58 am

Re: Ubuntu: fuse: failed to exec fusermount: Permission denied

Postby kamil on February 27th, 2008, 8:29 pm

duhhh, the 'add to fuse user group solution' can be used on any distro... even on the inferior ones :P
User avatar
kamil
Linux Adept
 
Posts: 118
Joined: January 18th, 2008, 1:22 am
Location: Brisbane, Australia


Return to Ubuntu

Who is online

Users browsing this forum: No registered users and 0 guests

cron

dsplabs homelinux bloglinux forums new! travel photographyawklores new! cryptographyjames' home
©2009 dsplabs.com.au