]> git.pld-linux.org Git - packages/VirtualBox.git/blob - udev.rules
allow x11 sessions to access /dev/vboxuser
[packages/VirtualBox.git] / udev.rules
1 # udev rules for VirtualBox
2 # Devices in Host
3 KERNEL=="vboxdrv",    GROUP="vbox", MODE="0660"
4 KERNEL=="vboxnetctl", GROUP="vbox", MODE="0660"
5
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
8 SUBSYSTEM=="usb_device", ACTION=="add", RUN+="VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vbox"
9 SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN+="VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vbox"
10
11 SUBSYSTEM=="usb_device", ACTION=="remove", RUN+="VBoxCreateUSBNode.sh --remove $major $minor"
12 SUBSYSTEM=="usb", ACTION=="remove", ENV{DEVTYPE}=="usb_device", RUN+="VBoxCreateUSBNode.sh --remove $major $minor"
13
14 # Devices in Guest, should use acl really
15 KERNEL=="vboxguest",  GROUP="vbox", MODE="0600"
16 KERNEL=="vboxuser",   GROUP="vbox", MODE="0666"
This page took 0.03144 seconds and 3 git commands to generate.