Permissions errors when renaming

Im currently trying to setup sonarr on unraid but when I import my files and try to rename them, I’m getting permissions errors.


2023-06-14 17:49:47.3|Info|RenameEpisodeFileService|Selected episode files renamed for Daria
2023-06-14 17:49:48.1|Info|RenameEpisodeFileService|Renaming 1 files for Daria
2023-06-14 17:49:51.1|Error|RenameEpisodeFileService|Failed to rename file /data/media/tv/Daria/Season 1/Daria - 101 - Esteemsters.avi

[v3.0.10.1567] System.UnauthorizedAccessException: Access to the path "/data/media/tv/Daria/Season 1/Daria - S01E01 - Esteemsters SDTV.avi" is denied.
  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in <de882a77e7c14f8ba5d298093dde82b2>:0 
  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options) [0x00000] in <de882a77e7c14f8ba5d298093dde82b2>:0 
  at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions)
  at System.IO.FileSystem.CopyFile (System.String sourceFullPath, System.String destFullPath, System.Boolean overwrite) [0x00035] in <de882a77e7c14f8ba5d298093dde82b2>:0 
  at System.IO.FileSystem.LinkOrCopyFile (System.String sourceFullPath, System.String destFullPath) [0x0006f] in <de882a77e7c14f8ba5d298093dde82b2>:0 
  at System.IO.FileSystem.MoveFile (System.String sourceFullPath, System.String destFullPath) [0x0003a] in <de882a77e7c14f8ba5d298093dde82b2>:0 
  at System.IO.File.Move (System.String sourceFileName, System.String destFileName) [0x00083] in <de882a77e7c14f8ba5d298093dde82b2>:0 
  at NzbDrone.Common.Disk.DiskProviderBase.MoveFileInternal (System.String source, System.String destination) [0x00000] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\Disk\DiskProviderBase.cs:268 
  at NzbDrone.Mono.Disk.DiskProvider.TransferFilePatched (System.String source, System.String destination, System.Boolean overwrite, System.Boolean move) [0x00254] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Mono\Disk\DiskProvider.cs:406 
  at NzbDrone.Mono.Disk.DiskProvider.MoveFileInternal (System.String source, System.String destination) [0x00098] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Mono\Disk\DiskProvider.cs:302 
  at NzbDrone.Common.Disk.DiskProviderBase.MoveFile (System.String source, System.String destination, System.Boolean overwrite) [0x000e1] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\Disk\DiskProviderBase.cs:255 
  at NzbDrone.Common.Disk.DiskTransferService.TryMoveFileVerified (System.String sourcePath, System.String targetPath, System.Int64 originalSize) [0x00047] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\Disk\DiskTransferService.cs:487 
  at NzbDrone.Common.Disk.DiskTransferService.TransferFile (System.String sourcePath, System.String targetPath, NzbDrone.Common.Disk.TransferMode mode, System.Boolean overwrite) [0x00208] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\Disk\DiskTransferService.cs:289 
  at NzbDrone.Core.MediaFiles.EpisodeFileMovingService.TransferFile (NzbDrone.Core.MediaFiles.EpisodeFile episodeFile, NzbDrone.Core.Tv.Series series, System.Collections.Generic.List`1[T] episodes, System.String destinationFilePath, NzbDrone.Common.Disk.TransferMode mode) [0x00129] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\MediaFiles\EpisodeFileMovingService.cs:116 
  at NzbDrone.Core.MediaFiles.EpisodeFileMovingService.MoveEpisodeFile (NzbDrone.Core.MediaFiles.EpisodeFile episodeFile, NzbDrone.Core.Tv.Series series) [0x00073] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\MediaFiles\EpisodeFileMovingService.cs:68 
  at NzbDrone.Core.MediaFiles.RenameEpisodeFileService.RenameFiles (System.Collections.Generic.List`1[T] episodeFiles, NzbDrone.Core.Tv.Series series) [0x00045] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\MediaFiles\RenameEpisodeFileService.cs:122 

2023-06-14 17:49:51.1|Info|RenameEpisodeFileService|Selected episode files renamed for Daria

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.