diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2019-07-09 08:51:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-09 08:51:12 +0200 |
commit | e94bbfc5827b9d5ebb87bb7c5038b6d2d617d27f (patch) | |
tree | 963d37cf6cc97f20c547d1b4e6875468dc463129 | |
parent | 6cfe29b0e03332977ae10818e8db264f7fc76680 (diff) | |
parent | adc2ab4bb2b6ab4f860ca1b5030994c6ad55dd59 (diff) | |
download | nextcloud-server-e94bbfc5827b9d5ebb87bb7c5038b6d2d617d27f.tar.gz nextcloud-server-e94bbfc5827b9d5ebb87bb7c5038b6d2d617d27f.zip |
Merge pull request #16195 from nextcloud/bugfix/7556/smb-symlink-share-mtime
Ignore forbidden exception when fetching share mtime on SMB for symlinks
-rw-r--r-- | apps/files_external/lib/Lib/Storage/SMB.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_external/lib/Lib/Storage/SMB.php b/apps/files_external/lib/Lib/Storage/SMB.php index 0d8c10b316b..bff23160944 100644 --- a/apps/files_external/lib/Lib/Storage/SMB.php +++ b/apps/files_external/lib/Lib/Storage/SMB.php @@ -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; |