I am running Windows 10 as my host OS, using Oracle VM VirtualBox Manager 6.0.8 as my virtual machine software, and Ubuntu 18.04.2 is my guest OS. I am trying to set up folder and file sharing.
I went to the settings for my virtual machine (on Oracle VM VirtualBox) and created a new, shared folder. When setting it up I checked off auto-mounting and make permanent. However, when I open up my files in Ubuntu I see the folder but am unable to open it. When I click on it, I get an error that says: This location could not be displayed. Then in smaller letters underneath it says: you do not have the permissions necessary to view the contents of "shared_folder_I_created".
I was googling and came across this link: https://helpdeskgeek.com/virtualization/virtualbox-share-folder-host-guest/. It explained that to set up a shared folder I should do everything I did, but then to (additionally) run the following line in terminal:
mount -t vboxsf [-o OPTIONS] sharename mountpoint
Then it said:
Replace sharename with the name of the share and mountpoint with the path where you want the share to be mounted (i.e.
/mnt/share
).
This seems to indicate that I did not properly mount this folder, despite having checked off auto-mount when I originally created this folder.
Anyway, I tried running this in terminal but received an error:
mount: only root can use "--types" option
This seems like it might be a simple sudo fix. However, because I don't know what this command means, I wanted to first figure out what it does.
So really I have two questions:
- What does each part of this command mean?
- How do I fix the error I am receiving when I try to run it?