fix file perms for WriteFile
This commit is contained in:
parent
5ce1b86da4
commit
24e0d7e9fb
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ func (s *Storage) Write(name string, data []byte, opts WriteOptions) error {
|
|||
}
|
||||
return nil
|
||||
} else {
|
||||
return os.WriteFile(filepath.Join(s.config.Path, name), data, 0640)
|
||||
return os.WriteFile(filepath.Join(s.config.Path, name), data, 0600)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue