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

pull/5998/head
Megan Marsh 8 years ago
parent ce1ab1f021
commit 4e32d0da24

@ -15,7 +15,7 @@ func sharedStateFilename(suffix string) string {
} }
func SetSharedState(key string, value string) error { 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) { func RetrieveSharedState(key string) (string, error) {

Loading…
Cancel
Save