i'm currently trying to access the shared folders in my virtual machine as user.
Virtualbox documentation says that i need to be a member of vboxsf group, but that doesn't help,
as the shared folders are mounted below /media and root is the owner.
Also i don't get by what they are mounted, there is no fstab entry,
seems this is done by the guest additions. How can i change this?
I mean, not changing the permissions on the shared folder after each boot,
but doing this properly and already mount them with the correct permissions?
EDIT: Changing owner/permissions seems to have no effect:
- Code: Select all
[doktor5000@localhost ~]$ ls -la /media/
insgesamt 16
drwxr-xr-x 4 root root 4096 2011-07-04 11:39 ./
drwxr-xr-x 20 root root 4096 2011-07-04 11:39 ../
drwxr-xr-x 2 root root 4096 2011-07-01 17:39 cdrom/
-rw-r--r-- 1 root root 0 2011-07-04 11:39 .hal-mtab
drwxrwx--- 1 root vboxsf 4096 2011-07-22 11:59 sf_VirtualBox_VMs/
[doktor5000@localhost ~]$ sudo chown -R doktor5000:vboxsf /media/sf_VirtualBox_VMs/
[doktor5000@localhost ~]$ ls -la /media/
insgesamt 16
drwxr-xr-x 4 root root 4096 2011-07-04 11:39 ./
drwxr-xr-x 20 root root 4096 2011-07-04 11:39 ../
drwxr-xr-x 2 root root 4096 2011-07-01 17:39 cdrom/
-rw-r--r-- 1 root root 0 2011-07-04 11:39 .hal-mtab
drwxrwx--- 1 root vboxsf 4096 2011-07-22 11:59 sf_VirtualBox_VMs/
Host is Mageia 1 x86_64, virtualbox-4.0.6-4.mga1 from the repos,
and guest is Mandriva 2010.1 with guest additions installed from the Virtualbox menu.