Continue iterating over diretory contents and just hide file if denied by acl

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2021-04-20 17:03:20 +02:00 committed by backportbot[bot]
parent 3d24aef406
commit 7e6e923d17
1 changed files with 1 additions and 1 deletions

View 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;
}
}