Skip to content
Permalink
Browse files

This permission should be interpreted as octal, not decimal

Docker-DCO-1.1-Signed-off-by: Kato Kazuyoshi <kato.kazuyoshi@gmail.com> (github: kzys)
  • Loading branch information...
kzys committed Apr 16, 2014
1 parent 24c4c3e commit e1e512e2da5f642ded2eba6baa851f52bae0b05c
Showing with 1 addition and 1 deletion.
  1. +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
}

0 comments on commit e1e512e

Please sign in to comment.
You can’t perform that action at this time.