summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/private/files/view.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/files/view.php b/lib/private/files/view.php
index 48e7cb85bef..c9c1fc3c1bc 100644
--- a/lib/private/files/view.php
+++ b/lib/private/files/view.php
@@ -896,7 +896,7 @@ class View {
return false;
}
- if ($mount instanceof MoveableMount) {
+ if ($mount instanceof MoveableMount && $internalPath === '') {
$data['permissions'] |= \OCP\PERMISSION_DELETE | \OCP\PERMISSION_UPDATE;
}