]> source.dussan.org Git - nextcloud-server.git/commitdiff
Continue iterating over diretory contents and just hide file if denied by acl 26678/head
authorJulius Härtl <jus@bitgrid.net>
Tue, 20 Apr 2021 15:03:20 +0000 (17:03 +0200)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Wed, 21 Apr 2021 07:24:25 +0000 (07:24 +0000)
Signed-off-by: Julius Härtl <jus@bitgrid.net>
apps/files_external/lib/Lib/Storage/SMB.php

index caf492563192c66357c6a6f3fbb09f8bdba68840..fb471f7904537729cfedf9fa5b2bf346661d780e 100644 (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;
                                                }
                                        }