|
@@ -403,7 +403,7 @@ func Untar(archive io.Reader, dest string, options *TarOptions) error {
|
|
|
parent := filepath.Dir(hdr.Name)
|
|
|
parentPath := filepath.Join(dest, parent)
|
|
|
if _, err := os.Lstat(parentPath); err != nil && os.IsNotExist(err) {
|
|
|
- err = os.MkdirAll(parentPath, 600)
|
|
|
+ err = os.MkdirAll(parentPath, 0777)
|
|
|
if err != nil {
|
|
|
return err
|
|
|
}
|