summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFredrik Gustafsson <fredrigu@axis.com>2019-10-11 12:08:24 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2019-11-07 15:39:35 +0000
commit6d321050e53f030609844493165a4a18bdabfa41 (patch)
treef93f9d1676334b407635c67b7b23a88d148f2d11
parent2162348a9a8d6290dcc629ea38ee176b8f92d5e8 (diff)
downloadabuild-6d321050e53f030609844493165a4a18bdabfa41.tar.bz2
abuild-6d321050e53f030609844493165a4a18bdabfa41.tar.xz
Change permissions for sudo to 4555
Currently the permissions for abuild-sudo is set to 4111, this make it impossible to move the sudo file after it has being created. Moving the sudo file is needed by yocto when creating an apk-package of abuild. The sudo binary in debian stretch since if debian does it, it can't be bad. Signed-off-by: Fredrik Gustafsson <fredrigu@axis.com>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0106f68..e41707b 100644
--- a/Makefile
+++ b/Makefile
@@ -102,7 +102,7 @@ install: $(USR_BIN_FILES) $(SAMPLES) abuild.conf functions.sh
for i in $(USR_BIN_FILES); do\
install -m 755 $$i $(DESTDIR)/$(bindir)/$$i;\
done
- chmod 4111 $(DESTDIR)/$(prefix)/bin/abuild-sudo
+ chmod 4555 $(DESTDIR)/$(prefix)/bin/abuild-sudo
for i in adduser addgroup apk; do \
ln -fs abuild-sudo $(DESTDIR)/$(bindir)/abuild-$$i; \
done