Ubuntu下解决共享文件夹共享失败
原因为驱动、脚本未自启动
参考:https://knowledge.broadcom.com/external/article?legacyId=74650
1.Create the file /etc/systemd/system/mnt-hgfs.mount with this content: [Unit] Description=VMware mount for hgfs DefaultDependencies=no Before=umount.target ConditionVirtualization=vmware After=sys-fs-fuse-connections.mount [Mount] What=vmhgfs-fuse Where=/mnt/hgfs Type=fuse Options=default_permissions,allow_other [Install] WantedBy=multi-user.target 2.Create the file /etc/modules-load.d/open-vm-tools.conf with this content: fuse If the file already exists, add that line to the file. 3.Enable the system service with the command: sudo systemctl enable mnt-hgfs.mount This will make sure the hgfs fdirectory will be mounted after a reboot. 4.Make sure the 'fuse' module is loaded: sudo modprobe -v fuse 5.In Workstation or Fusion, enable "Shared Folders" in "Virtual Machine Settings" > "Options", and set the folders to be shared. The shared folders should appear in the directory /mnt/hgfs. If that is not the case, start the service with: sudo systemctl start mnt-hgfs.mount or reboot.