Browse Source

Merge pull request #16195 from nextcloud/bugfix/7556/smb-symlink-share-mtime

Ignore forbidden exception when fetching share mtime on SMB for symlinks
tags/v17.0.0beta1
Roeland Jago Douma 4 years ago
parent
commit
e94bbfc582
No account linked to committer's email address
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      apps/files_external/lib/Lib/Storage/SMB.php

+ 2
- 0
apps/files_external/lib/Lib/Storage/SMB.php View File

@@ -302,6 +302,8 @@ class SMB extends Common implements INotifyStorage {
}
} catch (NotFoundException $e) {
// Ignore this, can happen on unavailable DFS shares
} catch (ForbiddenException $e) {
// Ignore this too - it's a symlink
}
}
return $highestMTime;

Loading…
Cancel
Save