I have a Ubuntu virtual machine (Virtual Box) hosted on my MBP w/ Mountain Lion. OSX 10.8.6, VirtualBox 4.2.16, Ubuntu 12.4 LTS (32 bit)
PROBLEM The shared folder(s) as seen in Ubuntu is/are empty.
Diary of searching for an answer on interwebs (No joy so far)
Share folder in VirtualBox Host=Mac OS, Guest=Debian - No joy. The answer is for manual mounting. Auto mounting explicitly puts/mounts the shared folder in /media
directory. Besides I tried it and got "no such file or directory" - but then I may not be understanding exactly where I'm creating this; no terminal guru, I.
Next ...
Set the shared folder via VirtualBox | Devices | shared folders
menu. The dialog box indicates "full" access and "auto-mount". Then launched the VM. The shared folder is created, but empty. BTW, the folders are created in /media
directory per the VB documentation.
After launching the VM, in Ubuntu, using VB | Devices
menu, created a new shared folder. Restart Ubuntu, folder is created but empty.
Next ...
Tried the above, creating "machine folder" and/or "transient folder" - same result as above.
Next ...
Tried the above referencing folders on both drives on my MBP. Same result.
Next ...
Tried adding my logged-in user to the vboxsf
group in Ubuntu. useradd -g vboxsf someUser
Ubuntu responded: useradd: user 'someUser' already exists