]> git.pld-linux.org Git - packages/VirtualBox.git/blame - udev.rules
up to 5.0.6
[packages/VirtualBox.git] / udev.rules
CommitLineData
2c014189 1# udev rules for VirtualBox
e10592b2
ER
2# Reference: https://www.virtualbox.org/browser/vbox/trunk/src/VBox/Installer/linux/installer-common.sh
3
9c2a31ae 4# Devices in Host
7c357984 5KERNEL=="vboxdrv", GROUP="vbox", MODE="0660"
363d2cac 6# vboxdrvu -- the unrestricted device
e10592b2 7KERNEL=="vboxdrvu", GROUP="root", MODE="0666"
7c357984 8KERNEL=="vboxnetctl", GROUP="vbox", MODE="0660"
12db98a7 9
37dbb4e1
ER
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
12db98a7
JR
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"
9c2a31ae
ER
17
18# Devices in Guest, should use acl really
19KERNEL=="vboxguest", GROUP="vbox", MODE="0600"
20KERNEL=="vboxuser", GROUP="vbox", MODE="0666"
This page took 0.028369 seconds and 4 git commands to generate.