diff --git a/libs/zip/extract.go b/libs/zip/extract.go index e763b5492..50277feae 100644 --- a/libs/zip/extract.go +++ b/libs/zip/extract.go @@ -22,7 +22,7 @@ func Extract(src string, dst string) error { targetPath := filepath.Join(dst, path) if d.IsDir() { - return os.MkdirAll(targetPath, os.ModePerm) + return os.MkdirAll(targetPath, 0755) } targetFile, err := os.Create(targetPath)