Commit 6d321050 authored by Fredrik Gustafsson's avatar Fredrik Gustafsson Committed by Natanael Copa

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: default avatarFredrik Gustafsson <fredrigu@axis.com>
parent 2162348a
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment