Fix folder/file permissions

This commit is contained in:
Jannis Mattheis
2019-03-10 08:17:01 +01:00
parent 6bacce3980
commit 234c58534c

View File

@@ -58,6 +58,6 @@ func WriteConfig(location string, conf *Config) error {
if err != nil {
return err
}
os.MkdirAll(filepath.Dir(location), 0644)
os.MkdirAll(filepath.Dir(location), 0755)
return ioutil.WriteFile(location, bytes, 0644)
}