diff --git a/lib/private/Files/View.php b/lib/private/Files/View.php index c0325d9aa2887..debe8664542f8 100644 --- a/lib/private/Files/View.php +++ b/lib/private/Files/View.php @@ -1791,7 +1791,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'); }