summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2022-03-03 16:46:31 +0100
committerGitHub <noreply@github.com>2022-03-03 16:46:31 +0100
commit47cbb421616016ed1980dd05d3e8ceef6d1592fa (patch)
treeb59cf40dfeccc102cc664cc6c0766d6d25a1dd9a /lib/private
parent90340585aae254edef36de2d5e30aa64a1921d9f (diff)
parentb6e8aba4c854f40f4c9da261861fcc38f4e155e3 (diff)
downloadnextcloud-server-47cbb421616016ed1980dd05d3e8ceef6d1592fa.tar.gz
nextcloud-server-47cbb421616016ed1980dd05d3e8ceef6d1592fa.zip
Merge pull request #31401 from nextcloud/backport/31360/stable23
[stable23] 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();
}