mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
parent
0a6733c65a
commit
8cf4f839ee
|
@ -917,7 +917,7 @@ function _fix_var_mail_permissions() {
|
|||
function _fix_var_amavis_permissions() {
|
||||
notify 'task' 'Fixing /var/lib/amavis permissions'
|
||||
|
||||
if [ `find /var/lib/amavis -maxdepth 3 -a \( \! -user amavis -o \! -group amavis \) | grep -c .` != 0 ]; then
|
||||
if [ `find /var/lib/amavis/* -maxdepth 3 -a \( \! -user amavis -o \! -group amavis \) | grep -c .` != 0 ]; then
|
||||
notify 'inf' "Fixing /var/lib/amavis permissions"
|
||||
chown -R amavis:amavis /var/lib/amavis
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue