aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2022-02-28 09:20:50 +0100
committerGitHub <noreply@github.com>2022-02-28 09:20:50 +0100
commit3bae591e9c0182e3dd0e2ea421265980c6467b19 (patch)
treed48ca218cc84ae8df33e2c0ac8eda43ec5fd31df /lib/private
parent9ab87b545853adf33f0e3bb570479c6bc5011bff (diff)
parent88f4e972c53c9116e7badb2bf0df84c2bb99f426 (diff)
downloadnextcloud-server-3bae591e9c0182e3dd0e2ea421265980c6467b19.tar.gz
nextcloud-server-3bae591e9c0182e3dd0e2ea421265980c6467b19.zip
Merge pull request #31360 from nextcloud/techdebt/noid/also-skip-user-setup-when-getting-certificates
Don't set up full filesystem to check for certificates
Diffstat (limited to 'lib/private')
-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();
}