From: Vladimír Čunát Date: Wed, 21 Feb 2018 18:27:35 +0000 (+0100) Subject: make: install ETCDIR/** as world-readable X-Git-Tag: v2.1.1~1^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=daa4e508f1a4fe73a36c40776d4fde311b8e04f2;p=thirdparty%2Fknot-resolver.git make: install ETCDIR/** as world-readable --- diff --git a/Makefile b/Makefile index 27b6c50a2..4791ea0a2 100644 --- a/Makefile +++ b/Makefile @@ -172,7 +172,7 @@ endif $(DESTDIR)$(MODULEDIR): $(INSTALL) -d $@ $(DESTDIR)$(ETCDIR): - $(INSTALL) -m 0750 -d $@ + $(INSTALL) -m 0755 -d $@ # Sub-targets include contrib/contrib.mk diff --git a/etc/etc.mk b/etc/etc.mk index 7aa6cb6c1..b42d30a78 100644 --- a/etc/etc.mk +++ b/etc/etc.mk @@ -6,7 +6,7 @@ etc_SOURCES := icann-ca.pem \ root.hints etc-install: $(DESTDIR)$(ETCDIR) - $(INSTALL) -m 0640 $(addprefix etc/,$(etc_SOURCES)) $(DESTDIR)$(ETCDIR) + $(INSTALL) -m 0644 $(addprefix etc/,$(etc_SOURCES)) $(DESTDIR)$(ETCDIR) etc: etc/root.hints