sshfs always failed on my debian for any "user" user, even after
I added my user to "fuse" group.
Here is my screen log, in which I have chown/chmod every possible file.
1. user "hfeng" is in fuse group.
uid=1000(hfeng) gid=100(users) groups=24(cdrom),
2. check "fuse" module
$ lsmod | grep fuse
fuse 33100 2
3. check /usr/bin/fusermount & /dev/fuse
$ ls /usr/bin/fusermount -l
-rwxr-xr-x 1 hfeng fuse 18400 2006-06-14 08:55 /usr/bin/fusermount*
$ ls /dev/fuse -l
crwxrwxrwx 1 hfeng fuse 10, 229 2006-06-27 17:03 /dev/fuse
3. And now, after all these, I still got only a failed message.
I really don't know what else I can do to fix it.
$ sshfs hfeng@...:/home/hfeng/ poisson/ -o sshfs_sync
fusermount: mount failed: Operation not permitted
> Thanks. It really works.
> $ ls fusermount -l
> -rwsr-xr-x 1 root fuse 18400 2006-06-14 08:55 fusermount
> Could you tell me why?
The mount() system call is a privileged operation, so it won't work as
normal user. But only the mounting is done with elevated privileges,
the filesystem itself runs as normal user.