fix state file permissions

This commit is contained in:
Leo Antunes 2019-08-24 16:51:30 +02:00
parent 8327adaf6b
commit aecc352e92
1 changed files with 1 additions and 1 deletions

View File

@ -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) {