This is on a dual boot machine with Fedora 25 and Tumbleweed on separate partitions.
I made sure that my main user has the same UID and GID on both OSs. While Fedora works just fine and mounts my remote server (with the same IDs), Tumbleweed just quits with
fuse: failed to exec fusermount: Permission denied
fuse as a module is loaded, regular ssh login to remote server just works.
The sshfs mountpoints are in /home/user and permissions are OK.
I don’t even know how to debug this; google search turned up no results for opensuse, neither did a search in this forum.
I tried strace and this seems to be the stumbling point:
> I tried strace and this seems to be the stumbling point:
>
>
> Code:
> --------------------
> mount(“remote:/home/user/”, “/home/user/mnt”, “fuse.sshfs”,
> MS_NOSUID|MS_NODEV, “fd=3,rootmode=40000,user_id=1000”…) = -1 EPERM
> (Operation not permitted) --------------------
>
>
> 1000 is indeed my UID, but I can’t decipher the rest of the error
> message and googling for it gave no meaningful results.
What gives;
ls -l /usr/bin/fusermount
AK
–
Never attribute to malice that which can be adequately explained by stupidity.
(R.J. Hanlon)
Well, not quite what I expected as the SUID Bit is set, but with this
combination of owner:group, this can not work for a normal user and looking at
my TW virtual machine, this is also not one of the possible sets of permissions
installed by default.
It’s probably not a good reason, but I have always been a lazy *******. As soon as someone invents sudo-agent [1] in the same spirit as ssh-agent, I will remove myself from the group.
For more on this, see the homepage for the fuse tools…
I discuss this and other related fuse permissions topics and provide links in the SDB:VMware Tools