Browse Source

fix: don't include the mountpoints when getting fileinfo for getOwner

Signed-off-by: Robin Appelman <robin@icewind.nl>
pull/57757/head
Robin Appelman 6 months ago
parent
commit
c801d63e5a
  1. 2
      lib/private/Files/View.php

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

Loading…
Cancel
Save