aboutsummaryrefslogtreecommitdiffstats
path: root/community/open-vm-tools
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2020-03-08 13:36:20 +0100
committerJakub Jirutka <jakub@jirutka.cz>2020-03-08 20:36:42 +0100
commita6c44ccf9530fa071af18e60ef6f1d2042153638 (patch)
tree867a42d0e54ce7809d7ca4a198a62a3bb256e61a /community/open-vm-tools
parentcc6813e8549a87ccefe58940db59149d7636ebc1 (diff)
downloadaports-a6c44ccf9530fa071af18e60ef6f1d2042153638.tar.bz2
aports-a6c44ccf9530fa071af18e60ef6f1d2042153638.tar.xz
community/open-vm-tools: fix perms for vmware-user-suid-wrappe
Diffstat (limited to 'community/open-vm-tools')
-rw-r--r--community/open-vm-tools/APKBUILD3
1 files changed, 3 insertions, 0 deletions
diff --git a/community/open-vm-tools/APKBUILD b/community/open-vm-tools/APKBUILD
index accc21678a..7291fa7387 100644
--- a/community/open-vm-tools/APKBUILD
+++ b/community/open-vm-tools/APKBUILD
@@ -82,6 +82,7 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/vmware/open-vm-tools/archive
$pkgname.logrotate
"
builddir="$srcdir/$pkgname-stable-$_ver"
+options="suid" # needed for vmware-user-suid-wrapper
_subpackages="$subpackages" # save for func _all
_pluginsdir='usr/lib/open-vm-tools/plugins'
@@ -169,6 +170,8 @@ package() {
chmod 750 ./usr/bin/$i
done
+ chmod 4755 ./usr/bin/vmware-user-suid-wrapper
+
install -D -m 755 "$srcdir"/$pkgname.initd ./etc/init.d/$pkgname
install -D -m 644 "$srcdir"/$pkgname.confd ./etc/conf.d/$pkgname
install -D -m 644 "$srcdir"/$pkgname.logrotate ./etc/logrotate.d/$pkgname