Access Virtual Box Shared Folder Without Using root on Linux


If you are using linux in a virtual box, you may probably want to access a shared folder to share contents across your host machine.

Virtual Box mounts shared folders under the group vboxsf. You might be able to access it using root user but instead, add yourself to the vboxsf group to have better access to the share.

To add the current user, run the following command

sudo usermod -aG vboxsf $(whoami)
Last updated on by Yasitha Bogamuwa