we have shown you how to access shared folder in VirtualBox with Linux host and Windows guest. If you want to access shared folder in Ubuntu guest (running Ubuntu as virtual machine), here is how you can do so.

  1. In VirtualBox, select the Ubuntu VM and go to “Settings -> Shared Folders”. Select the local folder that you want to share with the Linux VM.

  2. Boot into the Ubuntu VM. Open the file manager and navigate to the “/media” folder. You should see the shared folder with a “sf_” prefix.

  3. Now when you try to access it, it will give you a “you do not have the permission necessary to view the contents of…” error. The trick to fix this is to add yourself to the “vboxsf” group.

Open a terminal and type:

Replace “username” with your login username.

  1. Restart the Ubuntu VM. This time, you should be able to access the shared folder.

Damien Oh started writing tech articles since 2007 and has over 10 years of experience in the tech industry. He is proficient in Windows, Linux, Mac, Android and iOS, and worked as a part time WordPress Developer. He is currently the owner and Editor-in-Chief of Make Tech Easier.

Our latest tutorials delivered straight to your inbox