summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-09-24 17:50:33 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-09-26 09:24:24 +0200
commitd660aab116e8d8f332774895150cffa61f984042 (patch)
treec10b371c5de4e09e810b1116b79c64866d9f6b33 /lib
parente37f44e56a9e18b794242b9d855de80c2b48a6c3 (diff)
downloadnextcloud-server-d660aab116e8d8f332774895150cffa61f984042.tar.gz
nextcloud-server-d660aab116e8d8f332774895150cffa61f984042.zip
Fix dav permissions for folders without create permissions
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 6fc66377ba8..5b1166491ed 100644
--- a/lib/private/connector/sabre/node.php
+++ b/lib/private/connector/sabre/node.php
@@ -264,7 +264,7 @@ abstract class OC_Connector_Sabre_Node implements \Sabre\DAV\INode, \Sabre\DAV\I
$p .= 'W';
}
} else {
- if ($this->info->isUpdateable()) {
+ if ($this->info->isCreatable()) {
$p .= 'CK';
}
}