mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #34419 from keloyang/config.v2.json
security: Chmod config.v2.json to 0600
This commit is contained in:
commit
e4c19aa529
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ func (container *Container) toDisk() (*Container, error) {
|
|||
}
|
||||
|
||||
// Save container settings
|
||||
f, err := ioutils.NewAtomicFileWriter(pth, 0644)
|
||||
f, err := ioutils.NewAtomicFileWriter(pth, 0600)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue