Skip to content

Commit 88f4e97

Browse files
committed
Don't set up full filesystem to check for certificates
Signed-off-by: Joas Schilling <[email protected]>
1 parent 0b7449e commit 88f4e97

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/private/Files/Mount/Manager.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ private function setupForFind(string $path) {
8585
if (strpos($path, '/appdata_' . \OC_Util::getInstanceId()) === 0) {
8686
// for appdata, we only setup the root bits, not the user bits
8787
\OC_Util::setupRootFS();
88+
} elseif (strpos($path, '/files_external/uploads/') === 0) {
89+
// for OC\Security\CertificateManager, we only setup the root bits, not the user bits
90+
\OC_Util::setupRootFS();
8891
} else {
8992
\OC_Util::setupFS();
9093
}

0 commit comments

Comments
 (0)