]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
doc: Fix installed dovecot.conf permissions
authorXiao Pan <xyz@flylightning.xyz>
Wed, 19 Nov 2025 23:19:39 +0000 (07:19 +0800)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Wed, 11 Mar 2026 06:03:11 +0000 (06:03 +0000)
Use INSTALL_DATA instead of INSTALL to install dovecot.conf with 644 instead
of 755 file permission.

Signed-off-by: Xiao Pan <xyz@flylightning.xyz>
doc/Makefile.am

index 87b52dbe46c658114f6ea358805754e91dc1f805..845e70e2db3c13e04c44a3a822fb459e0d1126aa 100644 (file)
@@ -26,7 +26,7 @@ all-local: stamp-man
 install-data-hook:
        $(INSTALL) -d $(DESTDIR)$(sysconfdir)/dovecot
        test -e $(DESTDIR)$(sysconfdir)/dovecot/dovecot.conf || \
-       $(INSTALL) dovecot.conf $(DESTDIR)$(sysconfdir)/dovecot/dovecot.conf
+       $(INSTALL_DATA) dovecot.conf $(DESTDIR)$(sysconfdir)/dovecot/dovecot.conf
 
 install-data-local:
        $(MKDIR_P) $(DESTDIR)$(docdir); \