Skip to content

Commit 9a5d95e

Browse files
committed
doc: dovecot.conf is 644 file permission, not 755
Use INSTALL_DATA instead of INSTALL in doc/Makefile.am to install dovecot.conf with 644 instead of 755 file permission. After the patch, after `./autogen.sh; ./configure`, doc/Makefile shows dovecot.conf is correctly installed with INSTALL_DATA which is `/usr/bin/install -c -m 644` instead of INSTALL which is `/usr/bin/install -c`. More info about INSTALL_DATA see `info make`. Signed-off-by: Xiao Pan <[email protected]>
1 parent 5474607 commit 9a5d95e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ all-local: stamp-man
2626
install-data-hook:
2727
$(INSTALL) -d $(DESTDIR)$(sysconfdir)/dovecot
2828
test -e $(DESTDIR)$(sysconfdir)/dovecot/dovecot.conf || \
29-
$(INSTALL) dovecot.conf $(DESTDIR)$(sysconfdir)/dovecot/dovecot.conf
29+
$(INSTALL_DATA) dovecot.conf $(DESTDIR)$(sysconfdir)/dovecot/dovecot.conf
3030

3131
install-data-local:
3232
$(MKDIR_P) $(DESTDIR)$(docdir); \

0 commit comments

Comments
 (0)