I\'m using Windows and Virtualbox with RedHat, putting it simple: I\'ve created a shared folder so I can use Eclipse on my Windows OS and do some testing in Linux.
H
sudo adduser xxxxxxx vboxsf
where xxxxxx is your user account name. Log out and log back in to Ubuntu.
This also works
sudo usermod -aG <group> <user>
Then restart vm
The issue is that the shared folder's permissions are set to not allow symbolic links by default. You can enable them in a few easy steps.
Machine > Settings > General > Name
Try this (on the guest machine. i.e. the OS running in the Virtual box):
sudo adduser your-user vboxsf
Now reboot the OS running in the virtual box.
In my case the following was necessary:
sudo chgrp vboxsf /media/sf_sharedFolder
Add yourself to the vboxsf
group within the guest VM.
Solution 1
Run sudo adduser $USER vboxsf
from terminal.
(On Suse it's sudo usermod --append --groups vboxsf $USER
)
To take effect you should log out and then log in, or you may need to reboot.
Solution 2
Edit the file /etc/group
(you will need root privileges). Look for the line vboxsf:x:999
and add at the end :yourusername
-- use this solution if you don't have sudo.
To take effect you should log out and then log in, or you may need to reboot.