sshfs 以用户权限挂载,但对于 umount,我需要 root。为什么?如何?

Mih*_* G. 21 fstab sshfs

我正在尝试从 nautilus(由 sshfs 创建的目录)卸载,但出现此错误:

Unable to unmount dir
umount: /home/user/dir  is not in the fstab (and you are not root)
Run Code Online (Sandbox Code Playgroud)

我不明白为什么会这样。如何在没有 sudo 的情况下卸载 sshfs?

任何启示将不胜感激。提前致谢,

Jan*_*ary 28

打开一个终端窗口,然后输入

fusermount -u /path/to/mount
Run Code Online (Sandbox Code Playgroud)