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

 

首先,在vmware上手动配置

 

虚拟机vmware实现共享文件夹hgfs

 

2. 执行命令

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

虚拟机vmware实现共享文件夹hgfs

 

 

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

相关文章:

  • 2021-08-23
  • 2021-07-11
  • 2021-10-21
  • 2022-01-11
  • 2021-04-03
  • 2022-12-23
  • 2021-12-25
  • 2022-01-08
猜你喜欢
  • 2021-12-04
  • 2023-03-19
  • 2022-01-08
  • 2021-07-01
相关资源
相似解决方案