From ca163077297d7a641ac024e11f6e49a8ad9a2099 Mon Sep 17 00:00:00 2001 From: Torben Weibert Date: Tue, 21 Jan 2020 22:18:00 +0100 Subject: [PATCH] Added -f flag to chmod command to suppress error when no sieve-pipe scripts exist --- target/start-mailserver.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/start-mailserver.sh b/target/start-mailserver.sh index 6fb2d96e..cb3212b2 100644 --- a/target/start-mailserver.sh +++ b/target/start-mailserver.sh @@ -630,7 +630,7 @@ function _setup_dovecot() { fi chown docker:docker -R /usr/lib/dovecot/sieve* chmod 550 -R /usr/lib/dovecot/sieve* - chmod +x /usr/lib/dovecot/sieve-pipe/* + chmod -f +x /usr/lib/dovecot/sieve-pipe/* } function _setup_dovecot_local_user() {