summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2023-07-25 15:16:54 +0200
committerGit'Fellow <12234510+solracsf@users.noreply.github.com>2023-12-05 09:47:03 +0100
commit15bed77a223ff0d7699b7ab52d722e9984223a5c (patch)
treed7a4384d9ccc603fbcdb25260ed7dee28f776f61
parentfbc0f657112c58fa1f3b2c58b9b4606d27d129b5 (diff)
downloadnextcloud-server-15bed77a223ff0d7699b7ab52d722e9984223a5c.tar.gz
nextcloud-server-15bed77a223ff0d7699b7ab52d722e9984223a5c.zip
setup filesystem wrappers before we mark the root as setup
Signed-off-by: Robin Appelman <robin@icewind.nl>
-rw-r--r--lib/private/Files/SetupManager.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/private/Files/SetupManager.php b/lib/private/Files/SetupManager.php
index 469102e21cf..69d80a90b7a 100644
--- a/lib/private/Files/SetupManager.php
+++ b/lib/private/Files/SetupManager.php
@@ -335,12 +335,13 @@ class SetupManager {
if ($this->rootSetup) {
return;
}
+
+ $this->setupBuiltinWrappers();
+
$this->rootSetup = true;
$this->eventLogger->start('fs:setup:root', 'Setup root filesystem');
- $this->setupBuiltinWrappers();
-
$rootMounts = $this->mountProviderCollection->getRootMounts();
foreach ($rootMounts as $rootMountProvider) {
$this->mountManager->addMount($rootMountProvider);