We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abd693e commit c857171Copy full SHA for c857171
1 file changed
apps/dav/appinfo/v2/publicremote.php
@@ -6,7 +6,7 @@
6
* SPDX-License-Identifier: AGPL-3.0-only
7
*/
8
use OC\Files\Filesystem;
9
-use OC\Files\Storage\Wrapper\PermissionsMask;
+use OC\Files\Storage\Wrapper\DirPermissionsMask;
10
use OC\Files\View;
11
use OCA\DAV\Connector\Sabre\PublicAuth;
12
use OCA\DAV\Connector\Sabre\ServerFactory;
@@ -116,7 +116,11 @@
116
$mask |= Constants::PERMISSION_READ | Constants::PERMISSION_DELETE;
117
}
118
119
- return new PermissionsMask(['storage' => $storage, 'mask' => $mask]);
+ return new DirPermissionsMask([
120
+ 'storage' => $storage,
121
+ 'mask' => $mask,
122
+ 'path' => 'files',
123
+ ]);
124
});
125
126
/** @psalm-suppress MissingClosureParamType */
0 commit comments