Skip to content

Commit 0f23d6e

Browse files
committed
Continue iterating over diretory contents and just hide file if denied by acl
Signed-off-by: Julius Härtl <[email protected]>
1 parent 9a69b88 commit 0f23d6e

File tree

1 file changed

+1
-1
lines changed
  • apps/files_external/lib/Lib/Storage

1 file changed

+1
-1
lines changed

apps/files_external/lib/Lib/Storage/SMB.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ protected function getFolderContents($path): iterable {
257257
// additionally, it's better to have false negatives here then false positives
258258
if ($acl->denies(ACL::MASK_READ) || $acl->denies(ACL::MASK_EXECUTE)) {
259259
$this->logger->debug('Hiding non readable entry ' . $file->getName());
260-
return false;
260+
$hide = true;
261261
}
262262
}
263263

0 commit comments

Comments
 (0)