mirror of
https://github.com/openziti/zrok.git
synced 2024-11-21 23:53:19 +01:00
definitely need this to be writable, or problems will ensue
This commit is contained in:
parent
98b8c8c8a1
commit
100c221487
@ -46,7 +46,7 @@ func writeMetadata() error {
|
||||
if err := os.MkdirAll(filepath.Dir(mf), os.FileMode(0700)); err != nil {
|
||||
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 nil
|
||||
|
Loading…
Reference in New Issue
Block a user