]> git.pld-linux.org Git - packages/VirtualBox.git/blob - udev.rules
add warning about udev rules being insecure (allowing you to access any usb device)
[packages/VirtualBox.git] / udev.rules
1 # udev rules for VirtualBox
2 KERNEL=="vboxdrv",    GROUP="vbox", MODE="0660"
3 KERNEL=="vboxnetctl", GROUP="vbox", MODE="0660"
4
5 # these lines below give access permission to vbox users to properly work with usb nodes, enabling them could be security risk:
6 # https://bugzilla.novell.com/show_bug.cgi?id=664520
7 SUBSYSTEM=="usb_device", ACTION=="add", RUN+="VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vbox"
8 SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN+="VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vbox"
9
10 SUBSYSTEM=="usb_device", ACTION=="remove", RUN+="VBoxCreateUSBNode.sh --remove $major $minor"
11 SUBSYSTEM=="usb", ACTION=="remove", ENV{DEVTYPE}=="usb_device", RUN+="VBoxCreateUSBNode.sh --remove $major $minor"
This page took 0.04279 seconds and 3 git commands to generate.