社区微信群开通啦,扫一扫抢先加入社区官方微信群
社区微信群
@(配置问题)[VMware|ubuntu|linux]
018.7.8
为了实现win7与VMware中linux文件夹共享很花费了一些时间,但终成正果
虚拟机设置->选项->共享文件夹
开启总是启用以及设置共享的文件夹
我用mount挂载行不通,一直报错:Error: cannot mount filesystem: No such device
这里安装一下:sudo apt-get install open-vm-tools-dkms
然后命令:sudo vmhgfs-fuse .host:/ /mnt/hgfs -o allow_other
记住,一定要加allow_other选项,不然之后的hgfs文件普通用户不能访问
如果之前没有加-o allow_other,已经使得文件hgfs在普通用户环境下不可访问,也就是提示了
fuse: mountpoint is not empty
fuse: if you are sure this is safe, use the 'nonempty' mount option
可将nonempty选项加到里面去 sudo vmhgfs-fuse .host:/ /mnt/hgfs -o nonempty -o allow_other
如果觉得我的文章对您有用,请随意打赏。你的支持将鼓励我继续创作!