mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
Merge pull request #32801 from nextcloud/backport/32797/stable24
[stable24] fix mounts mounted at the users home
This commit is contained in:
commit
7ba6738031
1 changed files with 3 additions and 7 deletions
|
|
@ -380,13 +380,9 @@ class SetupManager {
|
|||
return;
|
||||
}
|
||||
|
||||
// for the user's home folder, it's always the home mount
|
||||
if (rtrim($path) === "/" . $user->getUID() . "/files") {
|
||||
if ($includeChildren) {
|
||||
$this->setupForUser($user);
|
||||
} else {
|
||||
$this->oneTimeUserSetup($user);
|
||||
}
|
||||
// for the user's home folder, and includes children we need everything always
|
||||
if (rtrim($path) === "/" . $user->getUID() . "/files" && $includeChildren) {
|
||||
$this->setupForUser($user);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue