The Free Software Media System - Server Backend & API
Merge pull request #7724 from jtcasper/perms
Joshua M. Boniface3515c76ca127
diff --git a/Emby.Server.Implementations/IO/ManagedFileSystem.cs b/Emby.Server.Implementations/IO/ManagedFileSystem.csindex 399ece7fd0..120b1812a7 100644--- a/Emby.Server.Implementations/IO/ManagedFileSystem.cs+++ b/Emby.Server.Implementations/IO/ManagedFileSystem.cs@@ -262,6 +262,10 @@ namespace Emby.Server.Implementations.IO_logger.LogError(ex, "Reading the file size of the symlink at {Path} failed. Marking the file as not existing.", fileInfo.FullName);result.Exists = false;}+ catch (UnauthorizedAccessException ex)+ {+ _logger.LogError(ex, "Reading the file at {Path} failed due to a permissions exception.", fileInfo.FullName);+ }}}