Explorar o código

This permission should be interpreted as octal, not decimal

Docker-DCO-1.1-Signed-off-by: Kato Kazuyoshi <kato.kazuyoshi@gmail.com> (github: kzys)
Kato Kazuyoshi %!s(int64=11) %!d(string=hai) anos
pai
achega
e1e512e2da
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      archive/diff.go

+ 1 - 1
archive/diff.go

@@ -68,7 +68,7 @@ func ApplyLayer(dest string, layer ArchiveReader) 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, 0600)
 				if err != nil {
 					return err
 				}