sshfs具有用户特权挂载,但是对于umount我需要root用户。为什么?怎么样?


17

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

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

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

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

Answers:


22

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

fusermount -u /path/to/mount

在Ubuntu 16.04中的工作原理就像一个魅力!
注销
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.