Fixed mkdir mode from 755 to 777

This commit is contained in:
Benoit Foucher
2016-03-18 09:37:18 +00:00
parent 76edf9649b
commit 7f5a7323a6
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -167,7 +167,7 @@ func (downloader *downloaderImpl) handleTask(task *downloadTask) {
return
}
err = os.MkdirAll(filepath.Dir(task.destination), 0755)
err = os.MkdirAll(filepath.Dir(task.destination), 0777)
if err != nil {
task.result <- fmt.Errorf("%s: %s", task.url, err)
return