Merge pull request #26677 from nextcloud/backport/26658/stable21

[stable21] Do not stop directory listing when ACL is blocking access
This commit is contained in:
Roeland Jago Douma 2021-04-21 19:54:12 +02:00 committed by GitHub
commit 52c070acaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -261,7 +261,7 @@ class SMB extends Common implements INotifyStorage {
// additionally, it's better to have false negatives here then false positives
if ($acl->denies(ACL::MASK_READ) || $acl->denies(ACL::MASK_EXECUTE)) {
$this->logger->debug('Hiding non readable entry ' . $file->getName());
return false;
continue;
}
}