VirtualBox/VirtualBox-4.2.16-vboxusb-permissions.patch

18 lines
705 B
Diff
Raw Normal View History

--- VirtualBox-4.2.16/src/VBox/Installer/linux/VBoxCreateUSBNode.sh.orig 2013-08-11 16:18:03.024582594 +0200
+++ VirtualBox-4.2.16/src/VBox/Installer/linux/VBoxCreateUSBNode.sh 2013-08-11 16:18:26.475361230 +0200
@@ -37,11 +37,11 @@
exit 0
fi
case "$group" in "") group="vboxusers";; esac
- mkdir /dev/vboxusb -m 0750 2>/dev/null
+ mkdir /dev/vboxusb -m 0755 2>/dev/null
chown root:$group /dev/vboxusb 2>/dev/null
- mkdir "$devdir" -m 0750 2>/dev/null
+ mkdir "$devdir" -m 0755 2>/dev/null
chown root:$group "$devdir" 2>/dev/null
- mknod "$devpath" c $1 $2 -m 0660 2>/dev/null
+ mknod "$devpath" c $1 $2 -m 0666 2>/dev/null
chown root:$group "$devpath" 2>/dev/null
;;
1)