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