summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/public.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_sharing/public.php b/apps/files_sharing/public.php
index dfaf4c00a6f..2862ad510ee 100644
--- a/apps/files_sharing/public.php
+++ b/apps/files_sharing/public.php
@@ -142,6 +142,7 @@ if (isset($path)) {
}
}
$i['directory'] = $dir;
+ $i['permissions'] = OCP\PERMISSION_READ;
$files[] = $i;
}
// Make breadcrumb