From e6665a05429b993b51c41232723a928cc549feb6 Mon Sep 17 00:00:00 2001
From: Markus Goetz <markus@woboq.com>
Date: Thu, 5 Jun 2014 14:39:06 +0200
Subject: [PATCH] WebDAV Permissions: Distinguish between renameing and moving

---
 lib/private/connector/sabre/node.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/private/connector/sabre/node.php b/lib/private/connector/sabre/node.php
index 8a369eccf6..6fc66377ba 100644
--- a/lib/private/connector/sabre/node.php
+++ b/lib/private/connector/sabre/node.php
@@ -257,7 +257,7 @@ abstract class OC_Connector_Sabre_Node implements \Sabre\DAV\INode, \Sabre\DAV\I
 			$p .= 'D';
 		}
 		if ($this->info->isDeletable()) {
-			$p .= 'N';
+			$p .= 'NV'; // Renameable, Moveable
 		}
 		if ($this->info->getType() === \OCP\Files\FileInfo::TYPE_FILE) {
 			if ($this->info->isUpdateable()) {
-- 
GitLab