mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
Fix: only chmod when there are files (#3203)
This commit is contained in:
parent
e12b032f77
commit
6fa06f4986
|
@ -87,8 +87,8 @@ function _setup_dovecot_sieve
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chown dovecot:root -R /usr/lib/dovecot/sieve-*
|
chown dovecot:root -R /usr/lib/dovecot/sieve-*
|
||||||
find /usr/lib/dovecot/sieve-* -type d -exec chmod 755 {} \;
|
find /usr/lib/dovecot/sieve-* -type d -exec chmod 755 {} +
|
||||||
chmod +x /usr/lib/dovecot/sieve-{filter,pipe}/*
|
find /usr/lib/dovecot/sieve-{filter,pipe} -type f -exec chmod +x {} +
|
||||||
}
|
}
|
||||||
|
|
||||||
function _setup_dovecot_quota
|
function _setup_dovecot_quota
|
||||||
|
|
Loading…
Reference in a new issue