Prerequisites Open-vm-tools version is at 10.0.0 or greater:
- open-vm-tools version is at 10.0.0 or greater
- OS supports fuse
- Kernel version >= 3.10 (if open-vm-tools < 10.3.0. kernel version must be >= 4.0)
- Supports systemd
Procedure:
- Remove any extra files from the
/mnt/hgfs/directory (if no other shared folders, the commandrm -rf /mnt/hgfs/*works and worked for me) - Create the file
/etc/systemd/system/mnt-hgfs.mountwith 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
- Add to or create the file
/etc/modules-load.d/open-vm-tools.confwith this content:
fuse
Enable the systemd service with the command:
sudo systemctl enable mnt-hgfs.mount
This will make sure the hgfs fdirectory will be mounted after a reboot.Make sure the 'fuse' module is loaded:
sudo modprobe -v fuseIn 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.mountor reboot.
The details/source information is here: https://kb.vmware.com/s/article/74650