From a85936259d8234e1bfca9eee4a5dcbc1a5d2ca6f Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Fri, 23 Jan 2026 15:48:45 +0100 Subject: [PATCH] fix: don't include the mountpoints when getting fileinfo for getOwner Signed-off-by: Robin Appelman --- lib/private/Files/View.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/Files/View.php b/lib/private/Files/View.php index 4a9ef9f813814..048d3f8df0e8e 100644 --- a/lib/private/Files/View.php +++ b/lib/private/Files/View.php @@ -1787,7 +1787,7 @@ private function searchCommon($method, $args) { * @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'); }