linux共享文件夾問題
@(配置問題)[VMware|ubuntu|linux]
018.7.8
為了實現win7與VMware中linux文件夾共享很花費了一些時間,但終成正果
1. 初配置
虛擬機設置->選項->共享文件夾
開啟總是啟用以及設置共享的文件夾

2. 掛載
我用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
