forked from pool/virtualbox
5f2f3974a4
added VBoxCreateUSBNode.sh, updated vbox to 4.2.10 and few workarounds to fix build OBS-URL: https://build.opensuse.org/request/show/162334 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=119
7 lines
678 B
Plaintext
7 lines
678 B
Plaintext
KERNEL=="vboxdrv", NAME="vboxdrv", OWNER="root", GROUP="root", MODE="0600"
|
|
#these lines below give access permission to vboxusers to properly work with usb nodes, but enabling them could be security risk (bnc#664520) !!
|
|
#SUBSYSTEM=="usb_device", ACTION=="add", RUN+="VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vboxusers"
|
|
#SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN+="VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vboxusers"
|
|
#SUBSYSTEM=="usb_device", ACTION=="remove", RUN+="VBoxCreateUSBNode.sh --remove $major $minor"
|
|
#SUBSYSTEM=="usb", ACTION=="remove", ENV{DEVTYPE}=="usb_device", RUN+="VBoxCreateUSBNode.sh --remove $major $minor"
|