# # to install the open - vm - tools
sudo apt-get install open-vm-tools

Mount is restricted to root only
sudo mount -t vmhgfs .host:/ /mnt/hgfs

# # uninstall
sudo umount /mnt/hgfs

A common account reads and writes shared directory #1
sudo vmhgfs-fuse .host:/ /mnt/hgfs -o subtype=vmhgfs-fuse,allow_other,nonempty
# # or # 2
sudo vmhgfs-fuse .host:/ /mnt/hgfs -o allow_other -o uid=1001 -o gid=1001

# You can see that the mount succeeded
sudo ls /mnt/hgfs/                       
Copy the code