aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/connector/sabre/node.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-05-09 17:18:43 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-05-09 17:18:43 +0200
commite5ee84ca9b7c2b95275fa7ea1100fe8c34a4d695 (patch)
treeda40528c88fe8560c0c8e891144376d602fa3533 /lib/private/connector/sabre/node.php
parent95fe55f9e7215e8de77e80ad418e4d199a13fdb5 (diff)
downloadnextcloud-server-e5ee84ca9b7c2b95275fa7ea1100fe8c34a4d695.tar.gz
nextcloud-server-e5ee84ca9b7c2b95275fa7ea1100fe8c34a4d695.zip
- update permissions
- change xml tag to perm
Diffstat (limited to 'lib/private/connector/sabre/node.php')
-rw-r--r--lib/private/connector/sabre/node.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/private/connector/sabre/node.php b/lib/private/connector/sabre/node.php
index ca8dcce9e86..ee38dfc8642 100644
--- a/lib/private/connector/sabre/node.php
+++ b/lib/private/connector/sabre/node.php
@@ -252,14 +252,17 @@ abstract class OC_Connector_Sabre_Node implements Sabre_DAV_INode, Sabre_DAV_IPr
if ($this->info->isMounted()) {
$p .= 'M';
}
+ if ($this->info->isDeletable()) {
+ $p .= 'D';
+ }
+ if ($this->info->isDeletable()) {
+ $p .= 'N';
+ }
if ($this->info->getType() === \OCP\Files\FileInfo::TYPE_FILE) {
if ($this->info->isUpdateable()) {
$p .= 'W';
}
} else {
- if ($this->info->isDeletable()) {
- $p .= 'D';
- }
if ($this->info->isUpdateable()) {
$p .= 'CK';
}