fix file perms for WriteFile

This commit is contained in:
Shane C. 2024-11-18 17:04:50 -05:00
parent 5ce1b86da4
commit 24e0d7e9fb
Signed by: Shane C.
GPG key ID: E46B5FEA35B22FF9

View file

@ -181,7 +181,7 @@ func (s *Storage) Write(name string, data []byte, opts WriteOptions) error {
} }
return nil return nil
} else { } else {
return os.WriteFile(filepath.Join(s.config.Path, name), data, 0640) return os.WriteFile(filepath.Join(s.config.Path, name), data, 0600)
} }
} }