1
0
forked from pool/virtualbox
virtualbox/virtualbox-60-vboxdrv.rules
Michal Seben f9ef7c6a80 Accepting request 247997 from home:mseben:branches:Virtualization
modify hint message in virtualbox-60-vboxdrv.rules, so udev rules will stay enabled also after package update

OBS-URL: https://build.opensuse.org/request/show/247997
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=166
2014-09-08 10:33:13 +00:00

9 lines
908 B
Plaintext

KERNEL=="vboxdrv", NAME="vboxdrv", OWNER="root", GROUP="root", MODE="0600"
#
#these lines below give access permission to vboxusers to properly work with usb nodes, but enabling them could be security risk (bnc#664520) !!
#if you can live with this security problem put these lines below in to the new file /etc/udev/rules.d/60-vboxdrv.rules so they will stay enabled also after package update
#SUBSYSTEM=="usb_device", ACTION=="add", RUN+="/usr/lib/udev/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vboxusers"
#SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN+="/usr/lib/udev/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vboxusers"
#SUBSYSTEM=="usb_device", ACTION=="remove", RUN+="/usr/lib/udev/VBoxCreateUSBNode.sh --remove $major $minor"
#SUBSYSTEM=="usb", ACTION=="remove", ENV{DEVTYPE}=="usb_device", RUN+="/usr/lib/udev/VBoxCreateUSBNode.sh --remove $major $minor"