diff --git a/lib/Mount/MountProvider.php b/lib/Mount/MountProvider.php index 901592846..4ce4e79c1 100644 --- a/lib/Mount/MountProvider.php +++ b/lib/Mount/MountProvider.php @@ -215,6 +215,8 @@ public function getMount( $storage = $this->getRootFolder()->getStorage(); + $storage->setOwner($user?->getUID()); + $rootPath = $this->getJailPath($id); // apply acl before jail