Merge pull request #34419 from keloyang/config.v2.json

security: Chmod config.v2.json to 0600
This commit is contained in:
Yong Tang 2017-08-14 08:39:58 -07:00 committed by GitHub
commit e4c19aa529

View file

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