fix: improve chmod for "/var/log/mail/*"
This commit is contained in:
parent
5686a4097a
commit
edd341be6f
|
@ -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.
|
> **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)
|
## [v15.0.0](https://github.com/docker-mailserver/docker-mailserver/releases/tag/v15.0.0)
|
||||||
|
|
||||||
### Breaking
|
### Breaking
|
||||||
|
|
|
@ -144,5 +144,5 @@ function __log_fixes() {
|
||||||
# Volume permissions should be corrected:
|
# Volume permissions should be corrected:
|
||||||
# https://github.com/docker-mailserver/docker-mailserver-helm/issues/137
|
# https://github.com/docker-mailserver/docker-mailserver-helm/issues/137
|
||||||
chmod 755 /var/log/mail/
|
chmod 755 /var/log/mail/
|
||||||
chmod 640 /var/log/mail/*
|
find /var/log/mail/ -type f -exec chmod 640 {} +
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue