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
|
@ -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 New Issue