Created
July 14, 2020 14:19
-
-
Save morteza-mori/ec661c112108a27bf504ab9344b28aca to your computer and use it in GitHub Desktop.
Virtual box add usb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo adduser $USERNAME vboxusers | |
nano /etc/udev/rules.d/60-vboxdrv.rules | |
SUBSYSTEM=="usb_device", ACTION=="add", RUN+="/usr/share/virtualbox/VBoxCreateUSBNode.sh $major $minor vboxusers" | |
SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN+="/usr/share/virtualbox/VBoxCreateUSBNode.sh $major $minor vboxusers" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment