Skip to content

Commit 52c070a

Browse files
authored
Merge pull request #26677 from nextcloud/backport/26658/stable21
[stable21] Do not stop directory listing when ACL is blocking access
2 parents 144976b + 7e6e923 commit 52c070a

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)