Accessing Shared Folder in VirtualBox with Ubuntu Guest

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.

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