]> git.pld-linux.org Git - packages/VirtualBox.git/blame_incremental - udev.rules
- rel 2 (libvpx 1.14)
[packages/VirtualBox.git] / udev.rules
... / ...
CommitLineData
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
5KERNEL=="vboxdrv", GROUP="vbox", MODE="0660"
6# vboxdrvu -- the unrestricted device
7KERNEL=="vboxdrvu", GROUP="root", MODE="0666"
8KERNEL=="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
12SUBSYSTEM=="usb_device", ACTION=="add", RUN+="VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vbox"
13SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN+="VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vbox"
14
15SUBSYSTEM=="usb_device", ACTION=="remove", RUN+="VBoxCreateUSBNode.sh --remove $major $minor"
16SUBSYSTEM=="usb", ACTION=="remove", ENV{DEVTYPE}=="usb_device", RUN+="VBoxCreateUSBNode.sh --remove $major $minor"
This page took 0.020591 seconds and 4 git commands to generate.