Merge pull request #26658 from nextcloud/bugfix/noid/continue-on-denied-acls

Do not stop directory listing when ACL is blocking access
pull/26669/head
Morris Jobke 5 years ago committed by GitHub
commit 5448306238
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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;
}
}

Loading…
Cancel
Save