summaryrefslogtreecommitdiffstats
path: root/lib/private/connector/sabre/node.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-09-24 17:50:33 +0200
committerRobin Appelman <icewind@owncloud.com>2014-09-25 14:01:19 +0200
commit10c350b8955a318d9b2e50714f22bdfab06abf87 (patch)
tree5a17dd899703d51c10103b66382b157c2beb0574 /lib/private/connector/sabre/node.php
parentccb4475a8d882a28fc84fd2e61c3bfa8ac74e563 (diff)
downloadnextcloud-server-10c350b8955a318d9b2e50714f22bdfab06abf87.tar.gz
nextcloud-server-10c350b8955a318d9b2e50714f22bdfab06abf87.zip
Fix dav permissions for folders without create permissions
Diffstat (limited to 'lib/private/connector/sabre/node.php')
-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 2ac7363a15e..a22dc9c5fbe 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';
}
}