diff --git a/helper/common/shared_state.go b/helper/common/shared_state.go index 5029bfbab..92ffbaeaf 100644 --- a/helper/common/shared_state.go +++ b/helper/common/shared_state.go @@ -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) {