2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-22 18:08:16 +00:00

[#3831] Fix permissions for /etc/kea

This commit is contained in:
Andrei Pavel 2025-05-21 12:19:07 +03:00
parent d12888134d
commit b22fd92860
No known key found for this signature in database
GPG Key ID: D4E804481939CB21
2 changed files with 3 additions and 1 deletions

View File

@ -182,6 +182,8 @@ install-exec-hook:
chmod 750 "$(DESTDIR)${localstatedir}/log/${PACKAGE_NAME}" chmod 750 "$(DESTDIR)${localstatedir}/log/${PACKAGE_NAME}"
mkdir -m 750 -p "$(DESTDIR)${runstatedir}/${PACKAGE_NAME}" mkdir -m 750 -p "$(DESTDIR)${runstatedir}/${PACKAGE_NAME}"
chmod 750 "$(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/path_replacer.sh
EXTRA_DIST += tools/mk_cfgrpt.sh EXTRA_DIST += tools/mk_cfgrpt.sh

View File

@ -59,7 +59,7 @@ if INSTALL_CONFIGURATIONS
# To preserve any user modifications to the old version of the file, # To preserve any user modifications to the old version of the file,
# this old file is backed up as keactrl.conf.bak. # this old file is backed up as keactrl.conf.bak.
install-data-local: install-data-local:
$(mkinstalldirs) $(DESTDIR)/@sysconfdir@/@PACKAGE@ $(mkinstalldirs) -m 750 $(DESTDIR)/@sysconfdir@/@PACKAGE@
for f in $(CONFIGFILES) ; do \ for f in $(CONFIGFILES) ; do \
if test -f $(DESTDIR)$(sysconfdir)/@PACKAGE@/$$f && \ if test -f $(DESTDIR)$(sysconfdir)/@PACKAGE@/$$f && \
test $$f = "keactrl.conf"; then \ test $$f = "keactrl.conf"; then \