Ubuntu – Windows Host Shared Folder in Ubuntu 20.04

shared-foldersvmware

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

Best Answer

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
Related Question