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:
parent
9a69b88393
commit
8f01bc65f1
|
@ -257,7 +257,7 @@ class SMB extends Common implements INotifyStorage {
|
||||||
// additionally, it's better to have false negatives here then false positives
|
// additionally, it's better to have false negatives here then false positives
|
||||||
if ($acl->denies(ACL::MASK_READ) || $acl->denies(ACL::MASK_EXECUTE)) {
|
if ($acl->denies(ACL::MASK_READ) || $acl->denies(ACL::MASK_EXECUTE)) {
|
||||||
$this->logger->debug('Hiding non readable entry ' . $file->getName());
|
$this->logger->debug('Hiding non readable entry ' . $file->getName());
|
||||||
return false;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue