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'); }