fix: improve chmod for "/var/log/mail/*"

This commit is contained in:
Dmitry Rubtsov 2025-03-02 18:10:50 +06:00
parent 5686a4097a
commit edd341be6f
No known key found for this signature in database
GPG Key ID: 4B1E43D13E6D4311
2 changed files with 6 additions and 1 deletions

View File

@ -6,6 +6,11 @@ All notable changes to this project will be documented in this file. The format
> **Note**: Changes and additions listed here are contained in the `:edge` image tag. These changes may not be as stable as released changes.
### Updates
**Internal:**
- Improved permission updating command to prevent errors when no logs are present ([#4391](https://github.com/docker-mailserver/docker-mailserver/pull/4391))
## [v15.0.0](https://github.com/docker-mailserver/docker-mailserver/releases/tag/v15.0.0)
### Breaking

View File

@ -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 {} +
}