chmod config.v2.json to 0600
Signed-off-by: yangshukui <yangshukui@huawei.com> Upstream-commit: ae52cea3ab46e1e728606349fb6baa9a8203f3ed Component: engine
This commit is contained in:
@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user