]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#3831] Fix permissions for /etc/kea
authorAndrei Pavel <andrei@isc.org>
Wed, 21 May 2025 09:19:07 +0000 (12:19 +0300)
committerAndrei Pavel <andrei@isc.org>
Wed, 21 May 2025 09:19:07 +0000 (12:19 +0300)
Makefile.am
src/bin/keactrl/Makefile.am

index 7e43dd8006693842bb2ecd3a5839f67b69406dfe..a81f4cc7447aabc56405f5674a173909e5d0b2d1 100644 (file)
@@ -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
index 296445e0b9046534f71d55df9a96f89b7e015077..a977afffd0587f660bccee7880e1e17327580086 100644 (file)
@@ -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 \