diff options
| author | Michael Neves | 2013-05-16 21:35:59 +0200 |
|---|---|---|
| committer | Michael Neves | 2013-05-16 21:35:59 +0200 |
| commit | 3bc92252c9a6a42d2b112e52e40c2e22338530f4 (patch) | |
| tree | bfb96bb992ae0dea46ef3ca8eaa1eba89adfe89d | |
| parent | remove chmod /dev/mem, not necessary (diff) | |
| download | tm-scripts-3bc92252c9a6a42d2b112e52e40c2e22338530f4.tar.gz tm-scripts-3bc92252c9a6a42d2b112e52e40c2e22338530f4.tar.xz tm-scripts-3bc92252c9a6a42d2b112e52e40c2e22338530f4.zip | |
GRRR file permissions... missing setuid on vmware-vmx led to 'virtual machine is busy' error
| -rw-r--r-- | remote/modules/vmplayer/vmplayer.build | 3 |
1 files changed, 3 insertions, 0 deletions
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 |
