Skip to content

Commit

Permalink
Merge pull request #2872 from nextcloud/fix/set-storage-owner-for-mou…
Browse files Browse the repository at this point in the history
…ntpoint

fix: Set mount point target user as storage owner
  • Loading branch information
juliushaertl authored May 10, 2024
2 parents d6edb89 + 91411cb commit 8abd8af
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 8abd8af

Please sign in to comment.