]> git.pld-linux.org Git - packages/VirtualBox.git/blame - udev.rules
allow x11 sessions to access /dev/vboxuser
[packages/VirtualBox.git] / udev.rules
CommitLineData
2c014189 1# udev rules for VirtualBox
9c2a31ae 2# Devices in Host
7c357984 3KERNEL=="vboxdrv", GROUP="vbox", MODE="0660"
7c357984 4KERNEL=="vboxnetctl", GROUP="vbox", MODE="0660"
12db98a7 5
37dbb4e1
ER
6# these lines below give access permission to vbox users to properly work with usb nodes, enabling them could be security risk:
7# https://bugzilla.novell.com/show_bug.cgi?id=664520
12db98a7
JR
8SUBSYSTEM=="usb_device", ACTION=="add", RUN+="VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vbox"
9SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN+="VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vbox"
10
11SUBSYSTEM=="usb_device", ACTION=="remove", RUN+="VBoxCreateUSBNode.sh --remove $major $minor"
12SUBSYSTEM=="usb", ACTION=="remove", ENV{DEVTYPE}=="usb_device", RUN+="VBoxCreateUSBNode.sh --remove $major $minor"
9c2a31ae
ER
13
14# Devices in Guest, should use acl really
15KERNEL=="vboxguest", GROUP="vbox", MODE="0600"
16KERNEL=="vboxuser", GROUP="vbox", MODE="0666"
This page took 0.041259 seconds and 4 git commands to generate.