aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/IO/FileRefresher.cs
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2016-08-13 16:55:29 -0400
committerGitHub <noreply@github.com>2016-08-13 16:55:29 -0400
commit03648936dcadf0ff0f707a5040e2e28556fa56ca (patch)
tree38028a28a9d59978ef9ebf1b4fb1c3f146653fd1 /MediaBrowser.Server.Implementations/IO/FileRefresher.cs
parent6600ff0990a1037d6f9c3bf160104089aac501e4 (diff)
parent8508e07bb9d1af326ef4c1c1b891e0d49288167b (diff)
Merge pull request #2053 from MediaBrowser/dev
Dev
Diffstat (limited to 'MediaBrowser.Server.Implementations/IO/FileRefresher.cs')
-rw-r--r--MediaBrowser.Server.Implementations/IO/FileRefresher.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/MediaBrowser.Server.Implementations/IO/FileRefresher.cs b/MediaBrowser.Server.Implementations/IO/FileRefresher.cs
index 742585143..2f4605c5c 100644
--- a/MediaBrowser.Server.Implementations/IO/FileRefresher.cs
+++ b/MediaBrowser.Server.Implementations/IO/FileRefresher.cs
@@ -259,6 +259,11 @@ namespace MediaBrowser.Server.Implementations.IO
// File may have been deleted
return false;
}
+ catch (UnauthorizedAccessException)
+ {
+ Logger.Debug("No write permission for: {0}.", path);
+ return false;
+ }
catch (IOException)
{
//the file is unavailable because it is: