Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
always do full setup for home folder with submounts
Signed-off-by: Robin Appelman <[email protected]>
  • Loading branch information
icewind1991 committed Apr 8, 2022
commit 54e52e9b5e569942f9daa7f00876006e90736a61
8 changes: 6 additions & 2 deletions lib/private/Files/SetupManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -368,8 +368,12 @@ public function setupForPath(string $path, bool $includeChildren = false): void
}

// 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;
}

Expand Down