forked from pool/virtualbox
ce541db5bc
the logic has been inverted. Now, the required udev commands to allow passthru are included. The first time that VB is started, the user will get a screen that points to the bug entry discussing the problem and states what they should do to block the insecure usage. In any case, that screen will only be printed once. File "virtualbox-60-vboxdrv.rules" has been added These changes address the issues in bnc #1018340. OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=303
10 lines
402 B
Bash
10 lines
402 B
Bash
#!/bin/bash
|
|
export QT_NO_KDE_INTEGRATION=1
|
|
/usr/bin/id -nG | grep -v -e "root" -e "vboxusers" >/dev/null && /usr/lib/virtualbox/VBoxPermissionMessage && exit
|
|
if [ ! -f ~/.vbox/message_out ] ; then
|
|
/usr/lib/virtualbox/VBoxUSB_DevRules
|
|
mkdir -p ~/.vbox/
|
|
touch ~/.vbox/message_out
|
|
fi
|
|
LD_LIBRARY_PATH="/usr/lib/virtualbox${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" /usr/lib/virtualbox/VirtualBox $@
|