Friday, June 8, 2012

Add user in "vboxsf" group to access VirtualBox shared folder in Ubuntu guest

On Debian (Ubuntu and a like):
sudo adduser <username> vboxsf

On RedHat (CentOS):

sudo usermod -a -G vboxsf <username>

3 comments:

  1. Poor example. The Ubuntu example creates a new user with a default group in vboxsf. This is not the right way. If you create a user, use their default group or enterprise standard default group and then use usermod, as shown in the RedHat/CentOS example above to add the user to vboxsf.

    ReplyDelete