Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-02-26 00:02:07 +0300
committerJoas Schilling <coding@schilljs.com>2022-02-26 02:40:12 +0300
commit88f4e972c53c9116e7badb2bf0df84c2bb99f426 (patch)
treed37c765a92267d5c198ab2ce28673570a3f28948 /lib/private/Files
parent0b7449e78e96f87f59c230c2fc92919e8f24531e (diff)
Don't set up full filesystem to check for certificates
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/Files')
-rw-r--r--lib/private/Files/Mount/Manager.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/private/Files/Mount/Manager.php b/lib/private/Files/Mount/Manager.php
index 8c6f1acceec..22b05b1f384 100644
--- a/lib/private/Files/Mount/Manager.php
+++ b/lib/private/Files/Mount/Manager.php
@@ -85,6 +85,9 @@ class Manager implements IMountManager {
if (strpos($path, '/appdata_' . \OC_Util::getInstanceId()) === 0) {
// for appdata, we only setup the root bits, not the user bits
\OC_Util::setupRootFS();
+ } elseif (strpos($path, '/files_external/uploads/') === 0) {
+ // for OC\Security\CertificateManager, we only setup the root bits, not the user bits
+ \OC_Util::setupRootFS();
} else {
\OC_Util::setupFS();
}