forked from mirror/afero
MkdirAll should respect permissions (MemMapFS)
This commit is contained in:
parent
adb80c3cf7
commit
54ad8f690d
|
@ -204,7 +204,7 @@ func (m *MemMapFs) Mkdir(name string, perm os.FileMode) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *MemMapFs) MkdirAll(path 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
|
// Handle some relative paths
|
||||||
|
|
Loading…
Reference in New Issue