From: Andrei Pavel Date: Wed, 21 May 2025 09:26:59 +0000 (+0300) Subject: [#3831] Fix permissions for /etc/kea X-Git-Tag: Kea-2.4.2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=851202a9f85ff0e1a66f426391a7ecc3d51c18d0;p=thirdparty%2Fkea.git [#3831] Fix permissions for /etc/kea --- diff --git a/Makefile.am b/Makefile.am index 5018ead862..d89c79ded5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -182,6 +182,8 @@ install-exec-hook: chmod 750 "$(DESTDIR)${localstatedir}/log/${PACKAGE_NAME}" mkdir -m 750 -p "$(DESTDIR)${runstatedir}/${PACKAGE_NAME}" chmod 750 "$(DESTDIR)${runstatedir}/${PACKAGE_NAME}" + mkdir -m 750 -p "$(DESTDIR)${sysconfdir}/${PACKAGE_NAME}" + chmod 750 "$(DESTDIR)${sysconfdir}/${PACKAGE_NAME}" EXTRA_DIST = tools/path_replacer.sh EXTRA_DIST += tools/mk_cfgrpt.sh diff --git a/src/bin/keactrl/Makefile.am b/src/bin/keactrl/Makefile.am index 296445e0b9..a977afffd0 100644 --- a/src/bin/keactrl/Makefile.am +++ b/src/bin/keactrl/Makefile.am @@ -59,7 +59,7 @@ if INSTALL_CONFIGURATIONS # To preserve any user modifications to the old version of the file, # this old file is backed up as keactrl.conf.bak. install-data-local: - $(mkinstalldirs) $(DESTDIR)/@sysconfdir@/@PACKAGE@ + $(mkinstalldirs) -m 750 $(DESTDIR)/@sysconfdir@/@PACKAGE@ for f in $(CONFIGFILES) ; do \ if test -f $(DESTDIR)$(sysconfdir)/@PACKAGE@/$$f && \ test $$f = "keactrl.conf"; then \