]> git.pld-linux.org Git - packages/VirtualBox.git/blob - udev.rules
- rel 2
[packages/VirtualBox.git] / udev.rules
1 # udev rules for VirtualBox
2 # Reference: https://www.virtualbox.org/browser/vbox/trunk/src/VBox/Installer/linux/installer-common.sh
3
4 # Devices in Host
5 KERNEL=="vboxdrv",    GROUP="vbox", MODE="0660"
6 # vboxdrvu -- the unrestricted device
7 KERNEL=="vboxdrvu",   GROUP="root", MODE="0666"
8 KERNEL=="vboxnetctl", GROUP="vbox", MODE="0660"
9
10 # these lines below give access permission to vbox users to properly work with usb nodes, enabling them could be security risk:
11 # https://bugzilla.novell.com/show_bug.cgi?id=664520
12 SUBSYSTEM=="usb_device", ACTION=="add", RUN+="VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vbox"
13 SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN+="VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vbox"
14
15 SUBSYSTEM=="usb_device", ACTION=="remove", RUN+="VBoxCreateUSBNode.sh --remove $major $minor"
16 SUBSYSTEM=="usb", ACTION=="remove", ENV{DEVTYPE}=="usb_device", RUN+="VBoxCreateUSBNode.sh --remove $major $minor"
17
18 # Devices in Guest, should use acl really
19 KERNEL=="vboxguest",  GROUP="vbox", MODE="0600"
20 KERNEL=="vboxuser",   GROUP="vbox", MODE="0666"
This page took 0.029736 seconds and 3 git commands to generate.