summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Rößler2013-09-02 18:41:16 +0200
committerChristian Rößler2013-09-02 18:41:16 +0200
commit3fb3b58fab80b438312cc433ea5681f656e858c4 (patch)
tree87cd4ef45035d875f8f45ddf1b1ac223bf0e7c83
parent[debug] +su, +file (diff)
downloadtm-scripts-3fb3b58fab80b438312cc433ea5681f656e858c4.tar.gz
tm-scripts-3fb3b58fab80b438312cc433ea5681f656e858c4.tar.xz
tm-scripts-3fb3b58fab80b438312cc433ea5681f656e858c4.zip
[vbox] suid VirtualBox Path, +perror
-rw-r--r--remote/modules/vbox/vbox.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/remote/modules/vbox/vbox.build b/remote/modules/vbox/vbox.build
index 4ee2b2b9..48cfe8c2 100644
--- a/remote/modules/vbox/vbox.build
+++ b/remote/modules/vbox/vbox.build
@@ -103,7 +103,7 @@ build() {
cd build || perror "Cannot cd to build directory!"
dpkg -x ../src/vbox/$(basename "$REQUIRED_VBOXBASEURL") . || perror "Could not unpack deb-archive!"
# VirtualBox needs to be suid-root:
- chmod u+s ${MODULE_BUILD_DIR}/usr/lib/VirtualBox
+ chmod u+s ${MODULE_BUILD_DIR}/usr/lib/virtualbox/VirtualBox || pwarning "(Debian/Ubuntu) Could not suid VirtualBox executable!"
;;
*) perror "Unknown Distribution: $SYS_DISTRIBUTION - Please specify its packet manager in remote/setup_target" ;;
esac