mirror of
https://github.com/gotify/cli.git
synced 2024-01-28 15:20:39 +03:00
Fix folder/file permissions
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user