Browse Source

setup filesystem wrappers before we mark the root as setup

Signed-off-by: Robin Appelman <robin@icewind.nl>
Robin Appelman 10 months ago
parent
commit
1eb3293e53
1 changed files with 3 additions and 2 deletions
  1. 3 2
      lib/private/Files/SetupManager.php

+ 3 - 2
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);