Skip to content

Commit d11ded9

Browse files
authored
Merge pull request #26676 from nextcloud/backport/26658/stable19
[stable19] Do not stop directory listing when ACL is blocking access
2 parents e73034b + 5262bb9 commit d11ded9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • apps/files_external/lib/Lib/Storage

apps/files_external/lib/Lib/Storage/SMB.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ protected function getFolderContents($path): iterable {
261261
// additionally, it's better to have false negatives here then false positives
262262
if ($acl->denies(ACL::MASK_READ) || $acl->denies(ACL::MASK_EXECUTE)) {
263263
$this->logger->debug('Hiding non readable entry ' . $file->getName());
264-
return false;
264+
continue;
265265
}
266266
}
267267

0 commit comments

Comments
 (0)