Skip to content
Snippets Groups Projects
Unverified Commit e94bbfc5 authored by Roeland Jago Douma's avatar Roeland Jago Douma Committed by GitHub
Browse files

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

Ignore forbidden exception when fetching share mtime on SMB for symlinks
parents 6cfe29b0 adc2ab4b
No related branches found
No related tags found
No related merge requests found
...@@ -302,6 +302,8 @@ class SMB extends Common implements INotifyStorage { ...@@ -302,6 +302,8 @@ class SMB extends Common implements INotifyStorage {
} }
} catch (NotFoundException $e) { } catch (NotFoundException $e) {
// Ignore this, can happen on unavailable DFS shares // Ignore this, can happen on unavailable DFS shares
} catch (ForbiddenException $e) {
// Ignore this too - it's a symlink
} }
} }
return $highestMTime; return $highestMTime;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment