summaryrefslogtreecommitdiff
path: root/src/dns/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/dns/Makefile.am')
-rw-r--r--src/dns/Makefile.am7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/dns/Makefile.am b/src/dns/Makefile.am
index acf9660f7..8082cbab5 100644
--- a/src/dns/Makefile.am
+++ b/src/dns/Makefile.am
@@ -25,7 +25,12 @@ endif
if LINUX
HIJACKBIN = gnunet-helper-dns
install-exec-hook:
- $(top_srcdir)/src/dns/install-dns-helper.sh $(DESTDIR)$(libexecdir) $(GNUNETDNS_GROUP) $(SUDO_OR_DOAS_BINARY) || true
+ chown root $(DESTDIR)$(libexecdir)/gnunt-helper-dns
+ chgrp $(GNUNETDNS_GROUP) $(DESTDIR)$(libexecdir)/gnunt-helper-dns
+ chmod 4750 $(DESTDIR)$(libexecdir)/gnunt-helper-dns
+ chgrp $(GNUNETDNS_GROUP) $(DESTDIR)$(libexecdir)/gnunt-helper-dns
+ chown gnunet:$(GNUNETDNS_GROUP) $(DESTDIR)$(libexecdir)/gnunt-helper-dns
+ chmod 2750 $(DESTDIR)$(libexecdir)/gnunt-helper-dns
else
install-exec-hook:
endif