vmhgfs-fuse at boot with VMware Windows 8.1 host and Ubuntu 16.04 guest

takahashi picture takahashi · Aug 3, 2016 · Viewed 12.6k times · Source

I am using the VMware Player with a Windows 8.1 host and an Ubuntu 16.04 guest and I have a shared folder shared_folder that I want to mount to a specific location at boot: /shared_folder. I can manually do that using the command

vmhgfs-fuse .host:/shared_folder /shared_folder

Now I would like to do that automatically during boot. Since I am a beginner with Ubuntu, maybe someone can point me to the solution of my problem. Thanks

Answer

takahashi picture takahashi · Aug 3, 2016

So after half a day of googling, try-and-error, 5mins after I post this question I find a working solution. I added the following line to /etc/fstab:

.host:/shared_folder /shared_folder fuse.vmhgfs-fuse allow_other,uid=1000,gid=1000,auto_unmount,defaults 0 0