Browse Source

chmod config.v2.json to 0600

Signed-off-by: yangshukui <yangshukui@huawei.com>
yangshukui 8 years ago
parent
commit
ae52cea3ab
1 changed files with 1 additions and 1 deletions
  1. 1 1
      container/container.go

+ 1 - 1
container/container.go

@@ -167,7 +167,7 @@ func (container *Container) toDisk() (*Container, error) {
 	}
 	}
 
 
 	// Save container settings
 	// Save container settings
-	f, err := ioutils.NewAtomicFileWriter(pth, 0644)
+	f, err := ioutils.NewAtomicFileWriter(pth, 0600)
 	if err != nil {
 	if err != nil {
 		return nil, err
 		return nil, err
 	}
 	}