fix mode on created directories

This commit is contained in:
finn 2022-03-28 10:06:22 -07:00
parent 0ff6400ce7
commit e8131dc928

View file

@ -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)