Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 1.13 KB

fix no shared directory in vmware guest Os(linux,mac).md

File metadata and controls

41 lines (29 loc) · 1.13 KB

Fix when you can't access the shared directory or if there is no /hgfs dir in /mnt in Vmware guest os(Linux or mac)

First install open-vm-tools, fuse and open-vm-tools-desktop

sudo apt install open-vm-tools fuse open-vm-tools-desktop

*now if you don't have a /hgfs dir /mnt type these commands below if not then leave it and start from the hint of ascii's

sudo mkdir /mnt/hgfs

 __ __  _____  _____  _____ 
/  |  \/   __\/  _  \/   __\
|  _  ||   __||  _  <|   __|
\__|__/\_____/\__|\_/\_____/
 

Now type in

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

or type in

sudo /usr/bin/vmhgfs-fuse .host:/ /mnt/hgfs -o subtype=vmhgfs-fuse,allow_other

now you can access the shared folder

Finally Create a symlink of the shared dir to Desktop

ln -s /mnt/hgfs/shared-directory ~/Desktop/Name-of-the-folder

So, this it, but if you reboot and it's gone the add any of the command at startup and everything's good to go.

Or edit the /etc/fstab and add

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