mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-06-12 03:07:42 +02: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…
x
Reference in New Issue
Block a user