summaryrefslogtreecommitdiffstats
path: root/lib/private/Files
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2023-07-25 15:16:54 +0200
committerRobin Appelman <robin@icewind.nl>2023-09-12 16:50:29 +0200
commit1eb3293e539f995677c3e3baacff0ccb1ae3da3f (patch)
treeedfab0fb7be60da094058f641aaedb85bb730003 /lib/private/Files
parent5685d68bd3cdc3205b72a8c0c60be2417bf2b934 (diff)
downloadnextcloud-server-1eb3293e539f995677c3e3baacff0ccb1ae3da3f.tar.gz
nextcloud-server-1eb3293e539f995677c3e3baacff0ccb1ae3da3f.zip
setup filesystem wrappers before we mark the root as setup
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private/Files')
-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 cae0fd2f232..564ea04ce8c 100644
--- a/lib/private/Files/SetupManager.php
+++ b/lib/private/Files/SetupManager.php
@@ -337,12 +337,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);