mirror of
https://github.com/openziti/zrok.git
synced 2024-11-25 09:33:43 +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 {
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user