save files with better rights

This commit is contained in:
Martin Thielecke 2020-05-09 22:57:43 +02:00
parent 23201f3b15
commit 95c13a3f5a
Signed by: mthie
GPG Key ID: D1D25A85C8604DFB
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ func saveContent(kind, filename, content string) {
return
}
if err := ioutil.WriteFile(p, []byte(content), 0777); err != nil {
if err := ioutil.WriteFile(p, []byte(content), 0644); err != nil {
log.WithError(err).Error("Unable to write content")
}
}