diff --git a/lib/private/files/view.php b/lib/private/files/view.php index 58dfc73dcf..5a3872e66e 100644 --- a/lib/private/files/view.php +++ b/lib/private/files/view.php @@ -996,6 +996,7 @@ class View { break; } } + $rootEntry['path'] = substr($path . '/' . $rootEntry['name'], strlen($user) + 2); // full path without /$user/ $files[] = new FileInfo($path . '/' . $rootEntry['name'], $subStorage, '', $rootEntry); } }