diff --git a/NzbDrone.Core/Providers/DiskScanProvider.cs b/NzbDrone.Core/Providers/DiskScanProvider.cs index 1258a59a5..f51e6e95b 100644 --- a/NzbDrone.Core/Providers/DiskScanProvider.cs +++ b/NzbDrone.Core/Providers/DiskScanProvider.cs @@ -197,8 +197,16 @@ namespace NzbDrone.Core.Providers Logger.Debug("Moving [{0}] > [{1}]", episodeFile.Path, newFile.FullName); _diskProvider.MoveFile(episodeFile.Path, newFile.FullName); - - _diskProvider.InheritFolderPermissions(newFile.FullName); + + //Wrapped in Try/Catch to prevent this from causing issues with remote NAS boxes, the move worked, which is more important. + try + { + _diskProvider.InheritFolderPermissions(newFile.FullName); + } + catch (UnauthorizedAccessException ex) + { + Logger.Debug("Unable to apply folder permissions to: ", newFile.FullName); + } episodeFile.Path = newFile.FullName; _mediaFileProvider.Update(episodeFile); diff --git a/NzbDrone.Web/Views/Settings/DownloadClient.cshtml b/NzbDrone.Web/Views/Settings/DownloadClient.cshtml index 6c7581ccb..5a0b26536 100644 --- a/NzbDrone.Web/Views/Settings/DownloadClient.cshtml +++ b/NzbDrone.Web/Views/Settings/DownloadClient.cshtml @@ -62,98 +62,100 @@