stricter permissions on shared state file since it now contains a password

This commit is contained in:
Megan Marsh 2018-03-16 14:11:32 -07:00
parent ce1ab1f021
commit 4e32d0da24
1 changed files with 1 additions and 1 deletions

View File

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