Merge pull request #57757 from nextcloud/getowner-no-mountpoints

fix: don't include the mountpoints when getting fileinfo for getOwner
This commit is contained in:
Robin Appelman 2026-02-06 17:22:51 +01:00 committed by GitHub
commit 6c9418880f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1800,7 +1800,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');
}