fuseninjasshfsmeson-build

How to install sshfs without sudo?


I'm trying to build sshfs on a cluster where I don't have root access.

Following these instructions I did:

1) Built and installed ninja and meson

2) Built libfuse with meson --prefix=/cluster/home/user/fuse

The problem comes when trying to install libfuse (ninja install), which requires root credentials. I get the following error:

Running custom install script '/cluster/home/user/fuse/libfuse/util/install_helper.sh /cluster/home/user/fuse/etc /cluster/home/user/fuse/bin /usr/lib/udev/rules.d' chown: changing ownership of ‘/cluster/home/user/fuse/cluster/home/user/fuse/bin/fusermount3’: Operation not permitted

How can I install libfuse to build sshfs?


Solution

  • fuse simply requires suid. You can't avoid it.