security: Chmod config.v2.json to 0600
| ... | ... |
@@ -167,7 +167,7 @@ func (container *Container) toDisk() (*Container, error) {
|
| 167 | 167 |
} |
| 168 | 168 |
|
| 169 | 169 |
// Save container settings |
| 170 |
- f, err := ioutils.NewAtomicFileWriter(pth, 0644) |
|
| 170 |
+ f, err := ioutils.NewAtomicFileWriter(pth, 0600) |
|
| 171 | 171 |
if err != nil {
|
| 172 | 172 |
return nil, err |
| 173 | 173 |
} |