From 7340b5eea052b97f012c63bfd0c9ec201b58b07a Mon Sep 17 00:00:00 2001 From: Christoph Date: Mon, 30 Oct 2017 03:59:17 +0100 Subject: [PATCH] Set correct permissions on configuration file '10-mail.conf'. --- install_update_dovecot.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install_update_dovecot.sh b/install_update_dovecot.sh index 32cb836..7ab9a90 100755 --- a/install_update_dovecot.sh +++ b/install_update_dovecot.sh @@ -1139,6 +1139,10 @@ mv $_tmp_file /usr/local/dovecot-${_version}/etc/dovecot/conf.d/10-mail.conf if [[ "$?" != "0" ]] ; then _failed=true fi +chmod 644 /usr/local/dovecot-${_version}/etc/dovecot/conf.d/10-mail.conf +if [[ "$?" != "0" ]] ; then + _failed=true +fi #perl -i -n -p -e "s#^([ ]*)(namespace\ +inbox\ +{\ *)#\1\#\#\ \2#g" \