How to install sshfs without sudo?

吃可爱长大的小学妹 提交于 2021-01-29 08:18:44

问题


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?


回答1:


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



来源:https://stackoverflow.com/questions/55152022/how-to-install-sshfs-without-sudo

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!