From: Julius Härtl Date: Tue, 20 Apr 2021 15:03:20 +0000 (+0200) Subject: Continue iterating over diretory contents and just hide file if denied by acl X-Git-Tag: v20.0.10RC1~24^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0a24fcfc343127c24049a02b7e95650b1c16e95f;p=nextcloud-server.git Continue iterating over diretory contents and just hide file if denied by acl Signed-off-by: Julius Härtl --- diff --git a/apps/files_external/lib/Lib/Storage/SMB.php b/apps/files_external/lib/Lib/Storage/SMB.php index caf49256319..fb471f79045 100644 --- a/apps/files_external/lib/Lib/Storage/SMB.php +++ b/apps/files_external/lib/Lib/Storage/SMB.php @@ -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; } }