Explorar el Código

chmod config.v2.json to 0600

Signed-off-by: yangshukui <yangshukui@huawei.com>
yangshukui hace 8 años
padre
commit
ae52cea3ab
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      container/container.go

+ 1 - 1
container/container.go

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