|
@@ -2587,7 +2587,7 @@ func system_fs_handleList(w http.ResponseWriter, r *http.Request) {
|
|
}
|
|
}
|
|
} else if !strings.Contains(filepath.ToSlash(filepath.Clean(currentDir)), "/") {
|
|
} else if !strings.Contains(filepath.ToSlash(filepath.Clean(currentDir)), "/") {
|
|
//User root not created. Create the root folder
|
|
//User root not created. Create the root folder
|
|
- os.MkdirAll(filepath.Clean(realpath), 0775)
|
|
|
|
|
|
+ //os.MkdirAll(filepath.Clean(realpath), 0775)
|
|
} else {
|
|
} else {
|
|
//Folder not exists
|
|
//Folder not exists
|
|
systemWideLogger.PrintAndLog("File System", "Requested path: "+realpath+" does not exists", nil)
|
|
systemWideLogger.PrintAndLog("File System", "Requested path: "+realpath+" does not exists", nil)
|