]> source.dussan.org Git - nextcloud-server.git/commitdiff
setup filesystem wrappers before we mark the root as setup 39044/head
authorRobin Appelman <robin@icewind.nl>
Tue, 25 Jul 2023 13:16:54 +0000 (15:16 +0200)
committerRobin Appelman <robin@icewind.nl>
Tue, 12 Sep 2023 14:50:29 +0000 (16:50 +0200)
Signed-off-by: Robin Appelman <robin@icewind.nl>
lib/private/Files/SetupManager.php

index cae0fd2f232753d1617d635360b4fc4e39bfb624..564ea04ce8c9844a3508a5e4639e4d5d39ec3a96 100644 (file)
@@ -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);