Sonarr changing folder permission?

I’m running Kodi on RPI that is getting all the episodes from my PC.

Sometimes Kodi is unable to run the files and i’m getting he following error - according to Kodi forums, it seems like Sonarr is changing the folder read permissions once it moves the files to the show folder. How can i fix it?

DVDPlayer: Opening: smb://10.0.0.9/G/MediaDownload/TV/Arrow/Season 3/Arrow.S03E22.720p.HDTV.X264-DIMENSION[rarbg].mkv
21:58:19 T:1969618944 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
21:58:19 T:1821303872 NOTICE: Thread DVDPlayer start, auto delete: false
21:58:19 T:1821303872 NOTICE: Creating InputStream
21:58:19 T:1821303872 ERROR: CDVDPlayer::OpenInputStream - error opening [smb://10.0.0.9/G/MediaDownload/TV/Arrow/Season 3/Arrow.S03E22.720p.HDTV.X264-DIMENSION[rarbg].mkv]
21:58:19 T:1821303872 NOTICE: CDVDPlayer::OnExit()
21:58:19 T:1969618944 ERROR: Playlist Player: skipping unplayable item: 0, path [smb://10.0.0.9/G/MediaDownload/TV/Arrow/Season 3/Arrow.S03E22.720p.HDTV.X264-DIMENSION[rarbg].mkv]
21:58:19 T:1474065472 NOTICE: Thread BackgroundLoader start, auto delete: false
21:58:19 T:1969618944 NOTICE: CDVDPlayer::CloseFile()
21:58:19 T:1969618944 NOTICE: DVDPlayer: waiting for threads to exit
21:58:19 T:1969618944 NOTICE: DVDPlayer: finished waiting
21:58:19 T:1969618944 NOTICE: CDVDPlayer::CloseFile()
21:58:19 T:1969618944 NOTICE: DVDPlayer: waiting for threads to exit
21:58:19 T:1969618944 NOTICE: DVDPlayer: finished waiting
21:58:19 T:1959785536 NOTICE: Found 1 Lists of Devices
21:58:19 T:1959785536 NOTICE: Enumerated PI devices:

You can set the permissions Sonarr will set on Media Management settings in Sonarr.

where exactly? I cannot see any option to set it…

This is what i see under Media management -

Sorry, that only applies to Sonarr running on non-Windows systems, if they’re not visible you must be running on Windows, in which case, check the permissions for the folders in the shares, Sonarr doesn’t alter them, it only inherits the folder’s permissions on the files it imports (to avoid issues).