MkdirAll should respect permissions (MemMapFS)

This commit is contained in:
Steve Francia 2015-12-03 22:27:28 -05:00
parent adb80c3cf7
commit 54ad8f690d
1 changed files with 1 additions and 1 deletions

View File

@ -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