Skip to content

Commit

Permalink
Merge pull request #26658 from nextcloud/bugfix/noid/continue-on-deni…
Browse files Browse the repository at this point in the history
…ed-acls

Do not stop directory listing when ACL is blocking access
  • Loading branch information
MorrisJobke committed Apr 20, 2021
2 parents ea0f022 + 8f01bc6 commit 5448306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/files_external/lib/Lib/Storage/SMB.php
Expand Up @@ -257,7 +257,7 @@ protected function getFolderContents($path): iterable {
// 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;
}
}

Expand Down

0 comments on commit 5448306

Please sign in to comment.