definitely need this to be writable, or problems will ensue

This commit is contained in:
Michael Quigley 2023-01-10 16:39:08 -05:00
parent 98b8c8c8a1
commit 100c221487
No known key found for this signature in database
GPG Key ID: 9B60314A9DD20A62

View File

@ -46,7 +46,7 @@ func writeMetadata() error {
if err := os.MkdirAll(filepath.Dir(mf), os.FileMode(0700)); err != nil { if err := os.MkdirAll(filepath.Dir(mf), os.FileMode(0700)); err != nil {
return err return err
} }
if err := os.WriteFile(mf, data, os.FileMode(0400)); err != nil { if err := os.WriteFile(mf, data, os.FileMode(0600)); err != nil {
return err return err
} }
return nil return nil