]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
make: install ETCDIR/** as world-readable
authorVladimír Čunát <vladimir.cunat@nic.cz>
Wed, 21 Feb 2018 18:27:35 +0000 (19:27 +0100)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Thu, 22 Feb 2018 15:51:02 +0000 (16:51 +0100)
Makefile
etc/etc.mk

index 27b6c50a2ebc51ae66822237907e2d07de0c2abd..4791ea0a29f59516b357d0e2705d6c57be4c589a 100644 (file)
--- 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
index 7aa6cb6c16ec5356c1c2b2acfecd7c71f82c4cb9..b42d30a78b359c57f28f1c46c915c690a5ecb983 100644 (file)
@@ -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