summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/Scanner.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/lib/Scanner.php')
-rw-r--r--apps/files_sharing/lib/Scanner.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/Scanner.php b/apps/files_sharing/lib/Scanner.php
index cab04fa9309..8540d296cd6 100644
--- a/apps/files_sharing/lib/Scanner.php
+++ b/apps/files_sharing/lib/Scanner.php
@@ -51,7 +51,7 @@ class Scanner extends \OC\Files\Cache\Scanner {
if ($data === null) {
return null;
}
- $internalPath = $this->storage->getSourcePath($path);
+ $internalPath = $this->storage->getUnjailedPath($path);
$data['permissions'] = $this->storage->getSourceStorage()->getPermissions($internalPath);
return $data;
}