mirror of
https://github.com/docker/compose.git
synced 2026-10-25 13:22:50 +00:00
fix(secrets): Reverted secrets file mode 440 -> 444
Signed-off-by: Suleiman Dibirov <idsulik@gmail.com>
This commit is contained in:
parent
a0d1c3f944
commit
6e814eac35
1 changed files with 1 additions and 1 deletions
|
|
@ -110,7 +110,7 @@ func createTar(env string, config types.FileReferenceConfig) (bytes.Buffer, erro
|
|||
value := []byte(env)
|
||||
b := bytes.Buffer{}
|
||||
tarWriter := tar.NewWriter(&b)
|
||||
mode := types.FileMode(0o440)
|
||||
mode := types.FileMode(0o444)
|
||||
if config.Mode != nil {
|
||||
mode = *config.Mode
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue