Windows Host Shared Folder in Ubuntu 20.04

I have used VMWare Workstation 15.5 running on Windows 10 Pro to create a VM for Ubuntu 20.04. I cannot access the shared folder in Ubuntu.

What I have done so far:

  1. Created a shared folder called "Share" in the Windows 10 Host
  2. Given read/write permission to Everyone
  3. Added the Share folder in VMware VM Settings page and chose Always Enabled

When I turn my Ubunut 20.04 VM on, I cannot see the Share folder. vmware-hgfsclient shows that there is a folder called Share. However, cd /mnt is empty.

How can I get Ubuntu 20.04 to mount the Share folder and then access it?

I am a newbie so please be gentle.

Thanking eveyone in advance for any assistance provided.

sujayv_au


I had the same problem, and still don't have permanent solution. All I have is temporary fix as follows.

After every Guest (Ubuntu) powers up, go to terminal, and type:

sudo vmhgfs-fuse .host:/ /mnt/hgfs/ -o allow_other -o uid=1000

You should see your shared folders under /mnt/hgfs.

(If anyone has better solution, please let us know.)


This answer is similar to the one posted by @user1099476 but will apply at boot.

Edit /etc/fstab and add:

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

Make sure the target folder exists. If not:

sudo mkdir /mnt/hgfs

Then remount:

sudo mount -a