Re: sshfs and permissions of /dev/fuse
On 2008-02-15 09:19:25 +0800, hhding wrote:
> permission is right
>
> you should add you to group fuse
OK, I've reported a bug against the sshfs documentation:
According to the sshfs documentation:
---- quote from /usr/share/doc/sshfs/README ----------------------------
Once sshfs is installed (see next section) running it is very simple:
sshfs hostname: mountpoint
Note, that it's recommended to run it as user, not as root. For this
to work the mountpoint must be owned by the user. [...]
------------------------------------------------------------------------
and the sshfs FAQ doesn't say much more. But under Debian, this is
not sufficient: the user also needs to be in group fuse, otherwise
one gets the following error:
fuse: failed to open /dev/fuse: Permission denied
I think that sshfs should come with a README.Debian file saying this
kind of things.
(Note: even though /dev/fuse is readable only by user root and group
fuse, needing to add the user to group fuse is not obvious, as sshfs
could be sgid fuse or execute a program that is sgid fuse to avoid
this step.)
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=465916
--
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)
Reply to: