- 首先 Linux 客戶端需要安裝 open-vm-tools
- 然後用
whereis vmhgfs-fuse
命令檢查vmhgfs-fuse
程序 - 用
id
命令查看當前用戶的uid
和gid
- 用
umask
命令查看當前用戶的umask
- 臨時掛載命令
/usr/bin/vmhgfs-fuse .host:/ /home/username/yourfolder -o allow_other -o uid=xxx -o gid=xxx -o umask=xxx
- 永久掛載
在/etc/fstab
表最下面一行添加
.host:/ /home/username/yourfolder fuse.vmhgfs-fuse allow_other,uid=xxx,gid=xxx,umask=xxx 0 0