mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 14:50:17 -04:00
Merge pull request #16195 from nextcloud/bugfix/7556/smb-symlink-share-mtime
Ignore forbidden exception when fetching share mtime on SMB for symlinks
This commit is contained in:
commit
e94bbfc582
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Reference in a new issue