fix state file permissions
This commit is contained in:
parent
8327adaf6b
commit
aecc352e92
|
@ -243,7 +243,7 @@ func (c *cluster) saveState() error {
|
|||
return err
|
||||
}
|
||||
|
||||
return ioutil.WriteFile(statePath, stateOut, 0700)
|
||||
return ioutil.WriteFile(statePath, stateOut, 0600)
|
||||
}
|
||||
|
||||
func loadState(cs *ClusterState) {
|
||||
|
|
Loading…
Reference in New Issue