Skip to content

Commit

Permalink
fix: Set mount point target user as storage owner
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <[email protected]>
  • Loading branch information
juliushaertl committed May 8, 2024
1 parent d6edb89 commit 91411cb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Mount/MountProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,8 @@ public function getMount(

$storage = $this->getRootFolder()->getStorage();

$storage->setOwner($user?->getUID());

$rootPath = $this->getJailPath($id);

// apply acl before jail
Expand Down

0 comments on commit 91411cb

Please sign in to comment.