From b5fc40eb7a8126a48758468f7c2d4f7c71b1befc Mon Sep 17 00:00:00 2001 From: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com> Date: Sun, 5 Mar 2023 22:23:25 +0100 Subject: [PATCH] fix regression introduced in #3153 (#3157) --- target/scripts/startup/setup.d/mail_state.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/scripts/startup/setup.d/mail_state.sh b/target/scripts/startup/setup.d/mail_state.sh index dc2c149d..6a2d3ec6 100644 --- a/target/scripts/startup/setup.d/mail_state.sh +++ b/target/scripts/startup/setup.d/mail_state.sh @@ -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