diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2016-03-03 19:47:35 +0100 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2016-03-04 09:38:34 +0100 |
commit | b66d536fc14ceda9dddce21f76cda0658c7f82ae (patch) | |
tree | 6887029ad010714a7791e0cd2d2212b6e9b0a176 /lib | |
parent | 78f40de83535dc42acd1a007281f1ea9bdfa3b98 (diff) | |
download | nextcloud-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.php | 2 |
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) { |