Merge pull request #26658 from nextcloud/bugfix/noid/continue-on-denied-acls
Do not stop directory listing when ACL is blocking access
This commit is contained in:
commit
5448306238
|
@ -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