summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2021-04-20 17:03:20 +0200
committerJulius Härtl <jus@bitgrid.net>2021-04-20 17:17:09 +0200
commit8f01bc65f1a28a74d5bd55e1d3ce33f9620ac12a (patch)
tree9a98b7b8734b690e2870c4c5e79a662e7ecc9f74 /apps
parent9a69b8839389f133db55a41e1c2ba4435fd50c19 (diff)
downloadnextcloud-server-8f01bc65f1a28a74d5bd55e1d3ce33f9620ac12a.tar.gz
nextcloud-server-8f01bc65f1a28a74d5bd55e1d3ce33f9620ac12a.zip
Continue iterating over diretory contents and just hide file if denied by acl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps')
-rw-r--r--apps/files_external/lib/Lib/Storage/SMB.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/lib/Lib/Storage/SMB.php b/apps/files_external/lib/Lib/Storage/SMB.php
index 1151d76c5e4..e795e7cfd92 100644
--- a/apps/files_external/lib/Lib/Storage/SMB.php
+++ b/apps/files_external/lib/Lib/Storage/SMB.php
@@ -257,7 +257,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;
}
}