Mount host drive in VMWare Workstation Guest on Linux

Use the command:

$> sudo vmhgfs-fuse .host:/ /mnt/hgfs -o subtype=vmhgfs-fuse,allow_other

It’s important to add -o subtype=vmhgfs-fuse,allow_other else the mount will not work

To mount during boot:
Create the directory: /mnt/hgfs
Add below to /etc/fstab:

Ubuntu:
vmhgfs-fuse /mnt/hgfs fuse defaults,allow_other 0 0

Fedora:
vmhgfs-fuse /mnt/hgfs fuse defaults,allow_other,_netdev 0 0