diff --git a/service/filemanager/default.go b/service/filemanager/default.go index b77c086..c574404 100644 --- a/service/filemanager/default.go +++ b/service/filemanager/default.go @@ -118,6 +118,10 @@ func (m *defaultManager) Mkdir(path string, perm os.FileMode) error { func (m *defaultManager) MkdirAll(path string, perm os.FileMode) error { path = m.BasePath(path) + return m.mkdirAll(path, perm) +} + +func (m *defaultManager) mkdirAll(path string, perm os.FileMode) error { dir, err := os.Stat(path) if err == nil { if dir.IsDir() {