diff options
| author | Christian Rößler | 2013-09-11 18:23:49 +0200 |
|---|---|---|
| committer | Christian Rößler | 2013-09-11 18:23:49 +0200 |
| commit | be54549f1f55587f3413ba66a8d5fe4ec8d8efd0 (patch) | |
| tree | 3480c08efacd7791a50761d03ebefeebf9c66c95 | |
| parent | Merge branch 'master' of git.openslx.org:openslx-ng/tm-scripts (diff) | |
| download | tm-scripts-be54549f1f55587f3413ba66a8d5fe4ec8d8efd0.tar.gz tm-scripts-be54549f1f55587f3413ba66a8d5fe4ec8d8efd0.tar.xz tm-scripts-be54549f1f55587f3413ba66a8d5fe4ec8d8efd0.zip | |
[vbox] Forced suids for binaries in Ubuntu branch
| -rw-r--r-- | remote/modules/vbox/vbox.build | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/remote/modules/vbox/vbox.build b/remote/modules/vbox/vbox.build index dfc9d27e..f095b4e2 100644 --- a/remote/modules/vbox/vbox.build +++ b/remote/modules/vbox/vbox.build @@ -103,8 +103,9 @@ 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/VirtualBox || pwarning "(Debian/Ubuntu) Could not suid VirtualBox executable!" - chmod u+s ${MODULE_BUILD_DIR}/usr/lib/virtualbox/VBoxHeadless || pwarning "(Debian/Ubuntu) Could not suid VirtualBox executable!" + for i in VBoxHeadless VBoxNetAdpCtl VBoxNetDHCP VBoxSDL VBoxVolInfo VirtualBox; do + chmod u+s ${MODULE_BUILD_DIR}/usr/lib/virtualbox/$i || pwarning "(Debian/Ubuntu) Could not suid $i executable!" + done ;; *) perror "Unknown Distribution: $SYS_DISTRIBUTION - Please specify its packet manager in remote/setup_target" ;; esac |
