fix regression introduced in #3153 (#3157)

This commit is contained in:
Georg Lauterbach 2023-03-05 22:23:25 +01:00 committed by GitHub
parent a8f6fa6181
commit b5fc40eb7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ function _setup_save_states
chown root:root "${STATEDIR}/spool-postfix"
# These two require the postdrop(103) group:
chgrp -R postdrop "${STATEDIR}/spool-postfix/{maildrop,public}"
chgrp -R postdrop "${STATEDIR}"/spool-postfix/{maildrop,public}
# After changing the group, special bits (set-gid, sticky) may be stripped, restore them:
# Ref: https://github.com/docker-mailserver/docker-mailserver/pull/3149#issuecomment-1454981309