折雨的天空

新浪微薄腾讯微薄

最新碎语:最近霉到了住。哎。。。

您的位置:折雨的天空 >其他技术> 问题:fusermount: user has no write access to mountpoint /mnt/hgfs与问题:无法定位软件包 open-vm-dkms

问题:fusermount: user has no write access to mountpoint /mnt/hgfs与问题:无法定位软件包 open-vm-dkms

vmware里共享主机文件夹给虚拟机使用,系统是ubuntu18的

参考:

https://bbs.csdn.net/topics/350258010

这篇文章里的,对于ubuntu18来说不行。

然后又参考文章:

https://blog.csdn.net/kulala082/article/details/67635198


这篇文章中命令可以了,主要使用以下命令,首先是安装工具包,不再是open-vm-dkms


我是使用的:

apt-get install open-vm-*

挂载命令:


正确的是:
使用命令: sudo mount -t fuse.vmhgfs-fuse .host:/VM_Shared  /mnt/hgfs -o allow_other(如果卸载,就把mount -t换成umount -a)
或sudo vmhgfs-fuse .host:/VM_Shared /mnt/hgfs
 (其中.host:/Documents是共享名,只需把Documents换成使用vmware-hgfsclient 命令得到的目录,/mnt/hgfs是挂载点。)

如果每次重启之后想让系统自动挂载 #vi /etc/fstab:
在最后添加一行:
.host:/VM_Shared /mnt/hgfs fuse.vmhgfs-fuse allow_other 0 0



------------正 文 已 结 束, 感 谢 您 的 阅 读 (折雨的天空)--------------------

转载请注明本文标题和链接:《问题:fusermount: user has no write access to mountpoint /mnt/hgfs与问题:无法定位软件包 open-vm-dkms

奖励一下

取消

分享不易,烦请有多多打赏,如您也困难,点击右边关闭即可!

扫码支持
扫码打赏,5元,10元,你说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

-秒后自动关闭,如已打赏,或者不愿打赏,请点击右上角关闭图标。

发表评论

路人甲 表情
看不清楚?点图切换

网友评论(2)

.host:/VM_Shared /mnt/hgfs fuse.vmhgfs-fuse allow_other 0 0   这个添加之后系统进不去了呢
NN 4年前 (2019-11-17) 回复
@NN:.host:/VM_Shared 这部分应该是要改成你的文件夹名称的。
我好笨 4年前 (2019-11-19) 回复