summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2016-03-03 19:47:35 +0100
committerRoeland Jago Douma <rullzer@owncloud.com>2016-03-04 09:38:34 +0100
commitb66d536fc14ceda9dddce21f76cda0658c7f82ae (patch)
tree6887029ad010714a7791e0cd2d2212b6e9b0a176 /lib
parent78f40de83535dc42acd1a007281f1ea9bdfa3b98 (diff)
downloadnextcloud-server-b66d536fc14ceda9dddce21f76cda0658c7f82ae.tar.gz
nextcloud-server-b66d536fc14ceda9dddce21f76cda0658c7f82ae.zip
Rename and move permissions are set when a file is updatable
* Fix unit tests
Diffstat (limited to 'lib')
-rw-r--r--lib/private/connector/sabre/node.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/connector/sabre/node.php b/lib/private/connector/sabre/node.php
index 30faf9941bd..1335247c497 100644
--- a/lib/private/connector/sabre/node.php
+++ b/lib/private/connector/sabre/node.php
@@ -229,7 +229,7 @@ abstract class Node implements \Sabre\DAV\INode {
if ($this->info->isDeletable()) {
$p .= 'D';
}
- if ($this->info->isDeletable()) {
+ if ($this->info->isUpdateable()) {
$p .= 'NV'; // Renameable, Moveable
}
if ($this->info->getType() === \OCP\Files\FileInfo::TYPE_FILE) {