User more appropriate permissions (755 -> 644)

This commit is contained in:
Stash Dev
2019-07-08 17:36:18 -07:00
parent f8e3692ee9
commit 82fcb72c51
4 changed files with 20 additions and 4 deletions

View File

@@ -20,7 +20,7 @@ func marshalToFile(filePath string, j interface{}) error {
if err != nil {
return err
}
return ioutil.WriteFile(filePath, data, 0755)
return ioutil.WriteFile(filePath, data, 0644)
}
func encode(j interface{}) ([]byte, error) {