Monday 24 May 2021

Virual Box group - Vboxsf permission issue on /media/sf_directory_name..

The Ideal way of getting access to these files is to allow VirtualBox to automount the shared folder (which will show up under /media/sf_directory_name) and then to add your regular OS user to the vboxsf group (as root #).

Syntax:

# usermod -aG vboxsf <OSUser>
In My case:     
[root@ol6 oracle]# usermod -aG vboxsf oracle

  By default, it looks it look like this

drwxrwx--- 1 root vboxsf 40960 MAY 11:37 sf_directory

so the vboxsf group has full access. By adding your user to that group,

you gain full access. So you no need to worry about changing their permissions

No comments:

Post a Comment