fix default perms
This commit is contained in:
parent
f950bd4976
commit
5afa270a97
|
@ -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), 0666); err != nil {
|
||||
if err := os.MkdirAll(filepath.Dir(destPath), 0744); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue