fix perms

This commit is contained in:
bui 2022-02-04 17:19:25 +01:00
parent de0e54da31
commit c5885bfaf3

View file

@ -43,7 +43,7 @@ func downloadFile(url string, destPath string) error {
return fmt.Errorf("download response 'HTTP %d' : %s", resp.StatusCode, string(body))
}
if err := os.MkdirAll(filepath.Dir(destPath), 0744); err != nil {
if err := os.MkdirAll(filepath.Dir(destPath), 0755); err != nil {
return err
}