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