fix: don't include the mountpoints when getting fileinfo for getOwner

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2026-01-23 15:48:45 +01:00
parent 3f9849d921
commit a85936259d
No known key found for this signature in database
GPG key ID: 42B69D8A64526EFB

View file

@ -1787,7 +1787,7 @@ class View {
* @throws NotFoundException
*/
public function getOwner(string $path): string {
$info = $this->getFileInfo($path);
$info = $this->getFileInfo($path, false);
if (!$info) {
throw new NotFoundException($path . ' not found while trying to get owner');
}