chmod config.v2.json to 0600

Signed-off-by: yangshukui <yangshukui@huawei.com>
Upstream-commit: ae52cea3ab46e1e728606349fb6baa9a8203f3ed
Component: engine
This commit is contained in:
yangshukui
2017-08-07 18:10:08 +08:00
parent 18cbafdfc4
commit a485f769f0

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
}