diff --git a/storage.go b/storage.go index e6a903a..e072dc9 100644 --- a/storage.go +++ b/storage.go @@ -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) } }