fix perms
This commit is contained in:
parent
de0e54da31
commit
c5885bfaf3
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ func downloadFile(url string, destPath string) error {
|
||||||
return fmt.Errorf("download response 'HTTP %d' : %s", resp.StatusCode, string(body))
|
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
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue