From 54ad8f690d30b0e26d68d4f2e2880e63c698e64f Mon Sep 17 00:00:00 2001 From: Steve Francia Date: Thu, 3 Dec 2015 22:27:28 -0500 Subject: [PATCH] MkdirAll should respect permissions (MemMapFS) --- memmap.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/memmap.go b/memmap.go index 7376c24..6824ab5 100644 --- a/memmap.go +++ b/memmap.go @@ -204,7 +204,7 @@ func (m *MemMapFs) Mkdir(name string, perm os.FileMode) error { } func (m *MemMapFs) MkdirAll(path string, perm os.FileMode) error { - return m.Mkdir(path, 0777) + return m.Mkdir(path, perm) } // Handle some relative paths