Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2021-04-20 22:35:19 +0300
committerGitHub <noreply@github.com>2021-04-20 22:35:19 +0300
commit5448306238eca2c2eba15004439d26b5ceaffe80 (patch)
tree45845a3b94298c027b344b20569bb8d0599d7fe0 /apps
parentea0f022816eb7fd350399db50fc4ea8d2b2a4d54 (diff)
parent8f01bc65f1a28a74d5bd55e1d3ce33f9620ac12a (diff)
Merge pull request #26658 from nextcloud/bugfix/noid/continue-on-denied-acls
Do not stop directory listing when ACL is blocking access
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;
}
}