Files can't have create permissions

Fixes #20839
This commit is contained in:
Roeland Jago Douma 2015-12-11 22:28:26 +01:00
parent aee4887224
commit e8d5eb65c6
1 changed files with 0 additions and 4 deletions

View File

@ -303,10 +303,6 @@
}
break;
case 'W':
if (isFile) {
// also add create permissions
data.permissions |= OC.PERMISSION_CREATE;
}
data.permissions |= OC.PERMISSION_UPDATE;
break;
case 'D':