fix mode on created directories
This commit is contained in:
parent
0ff6400ce7
commit
e8131dc928
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ func Load() error {
|
|||
}
|
||||
|
||||
func Save() error {
|
||||
if err := os.MkdirAll(path.Dir(Path), 0660); err != nil {
|
||||
if err := os.MkdirAll(path.Dir(Path), 0770); err != nil {
|
||||
return err
|
||||
}
|
||||
f, err := os.Create(Path)
|
||||
|
|
Loading…
Reference in a new issue