mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-07-02 21:44:51 +02:00
fix: Support chmod
on /var/log/mail/*
when dir is empty (#4391)
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com> Co-authored-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
This commit is contained in:
parent
807f4f7118
commit
1756ba04fb
2 changed files with 8 additions and 1 deletions
|
@ -144,5 +144,5 @@ function __log_fixes() {
|
|||
# Volume permissions should be corrected:
|
||||
# https://github.com/docker-mailserver/docker-mailserver-helm/issues/137
|
||||
chmod 755 /var/log/mail/
|
||||
chmod 640 /var/log/mail/*
|
||||
find /var/log/mail/ -type f -exec chmod 640 {} +
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue