From 3bc92252c9a6a42d2b112e52e40c2e22338530f4 Mon Sep 17 00:00:00 2001 From: Michael Neves Date: Thu, 16 May 2013 21:35:59 +0200 Subject: GRRR file permissions... missing setuid on vmware-vmx led to 'virtual machine is busy' error --- remote/modules/vmplayer/vmplayer.build | 3 +++ 1 file changed, 3 insertions(+) (limited to 'remote') diff --git a/remote/modules/vmplayer/vmplayer.build b/remote/modules/vmplayer/vmplayer.build index 716bf3e3..5747e611 100644 --- a/remote/modules/vmplayer/vmplayer.build +++ b/remote/modules/vmplayer/vmplayer.build @@ -31,7 +31,10 @@ build() { cp -r ./src/vmware-vmx/lib/{bin,icu,lib,libconf,scripts} "$TARGET" || perror "Could not copy many things from vmware-vmx." [ ! -L "$TARGET/bin/vmplayer" ] && { ln -s /usr/lib/vmware/bin/appLoader "$TARGET/bin/vmplayer" || perror "Could not link vmplayer to appLoader."; } chmod +x "$TARGET"/bin/* + chmod u+s "$TARGET"/bin/vmware-vmx* chmod +x "$MODULE_BUILD_DIR"/usr/{bin,sbin}/* + chmod u+s "$MODULE_BUILD_DIR"/usr/bin/vmware-mount + chmod u+s "$MODULE_BUILD_DIR"/usr/sbin/vmware-authd chmod +x "$TARGET"/lib/*.sh find "$MODULE_BUILD_DIR" -name '*.sh' -exec chmod +x {} \; for file in $(grep -rl -E "^#!/" "$MODULE_BUILD_DIR"); do -- cgit v1.2.3-55-g7522