]> git.pld-linux.org Git - packages/VirtualBox.git/blobdiff - udev.rules
- fix building with kernel 4.9.256
[packages/VirtualBox.git] / udev.rules
index e9dfda7f2e7284412ff7be1db76985ee62fba605..3bee4e625fa9ca1251a2b28b7a853aac811191e8 100644 (file)
@@ -1,7 +1,14 @@
 # udev rules for VirtualBox
+# Reference: https://www.virtualbox.org/browser/vbox/trunk/src/VBox/Installer/linux/installer-common.sh
+
+# Devices in Host
 KERNEL=="vboxdrv",    GROUP="vbox", MODE="0660"
+# vboxdrvu -- the unrestricted device
+KERNEL=="vboxdrvu",   GROUP="root", MODE="0666"
 KERNEL=="vboxnetctl", GROUP="vbox", MODE="0660"
 
+# these lines below give access permission to vbox users to properly work with usb nodes, enabling them could be security risk:
+# https://bugzilla.novell.com/show_bug.cgi?id=664520
 SUBSYSTEM=="usb_device", ACTION=="add", RUN+="VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vbox"
 SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN+="VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vbox"
 
This page took 0.026091 seconds and 4 git commands to generate.