How to share USB resources in VirtualBox4.1.18_ubuntu

You will need to add your user to the VirtualBox group to be able to share USB resources.

This command will add you to the vboxusers group. Replace “username” with your actual username found by using the whoami command.

su -c 'usermod -G vboxusers -a username'

If you find that you’re getting SELinux errors or denials, try adding VirtualBox.so as an exception with this command:

su -c 'chcon -t textrel_shlib_t /usr/lib/virtualbox/VirtualBox.so'