From 54e52e9b5e569942f9daa7f00876006e90736a61 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Fri, 8 Apr 2022 15:05:43 +0200 Subject: [PATCH] always do full setup for home folder with submounts Signed-off-by: Robin Appelman --- lib/private/Files/SetupManager.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/private/Files/SetupManager.php b/lib/private/Files/SetupManager.php index 204d057a240..e0575ea92a5 100644 --- a/lib/private/Files/SetupManager.php +++ b/lib/private/Files/SetupManager.php @@ -368,8 +368,12 @@ class SetupManager { } // for the user's home folder, it's always the home mount - if (rtrim($path) === "/" . $user->getUID() . "/files" && !$includeChildren) { - $this->oneTimeUserSetup($user); + if (rtrim($path) === "/" . $user->getUID() . "/files") { + if ($includeChildren) { + $this->setupForUser($user); + } else { + $this->oneTimeUserSetup($user); + } return; } -- 2.39.5