虛擬機vmware實現共享文件夾hgfs


VMware中的centos共享目錄/mnt/hgfs 

 

首先,在vmware上手動配置

 

 

2. 執行命令

sudo vmhgfs-fuse .host:/ /mnt/hgfs -o nonempty -o allow_other

 

 

3. 如果碰到hgfs沒有寫的權限

解決

1. 先取消掛載

sudo umount /mnt/hgfs

2. 重新掛載即可

sudo /usr/bin/vmhgfs-fuse .host:/ /mnt/hgfs -o allow_other -o uid=1000 -o gid=1000 -o umask=022

或者

sudo /usr/bin/vmhgfs-fuse .host:/ /mnt/hgfs -o nonempty -o allow_other -o uid=1000 -o gid=1000 -o umask=022


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM