only the mount point has delete and update permissions to enable rename operation

This commit is contained in:
Bjoern Schiessle 2014-06-24 13:55:04 +02:00
parent 84d36df70b
commit 70ca292fd9
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}