stricter permissions on shared state file since it now contains a password
This commit is contained in:
parent
ce1ab1f021
commit
4e32d0da24
|
@ -15,7 +15,7 @@ func sharedStateFilename(suffix string) string {
|
|||
}
|
||||
|
||||
func SetSharedState(key string, value string) error {
|
||||
return ioutil.WriteFile(sharedStateFilename(key), []byte(value), 0644)
|
||||
return ioutil.WriteFile(sharedStateFilename(key), []byte(value), 0600)
|
||||
}
|
||||
|
||||
func RetrieveSharedState(key string) (string, error) {
|
||||
|
|
Loading…
Reference in New Issue