We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 26ba904 + f92de57 commit 38e2936Copy full SHA for 38e2936
apps/files_external/lib/Lib/Storage/SMB.php
@@ -205,7 +205,12 @@ protected function throwUnavailable(\Exception $e) {
205
* @return ACL|null
206
*/
207
private function getACL(IFileInfo $file): ?ACL {
208
- $acls = $file->getAcls();
+ try {
209
+ $acls = $file->getAcls();
210
+ } catch (Exception $e) {
211
+ $this->logger->error('Error while getting file acls', ['exception' => $e]);
212
+ return null;
213
+ }
214
foreach ($acls as $user => $acl) {
215
[, $user] = $this->splitUser($user); // strip domain
216
if ($user === $this->server->getAuth()->getUsername()) {
0 commit comments