Sonarr can't access this file after downloading

Quite some time ago, I asked for Sonarr to be able to “touch” the parent folder of a series after downloading, so that it would be considered “modified” and therefore move to the top of a Date Modified sort. It worked great for a while, but at some point stopped working reliably and I have no idea why. I’m revisiting this issue again and am noticing that it fails every time, based on permissions.

I get this in the logs:

16-9-7 20:22:51.6|Warn|NotificationService|Unable to send OnDownload notification to: series_touch

[v2.0.0.4230] System.ComponentModel.Win32Exception: ApplicationName='/Users/media/Desktop/series_touch.sh', CommandLine='', CurrentDirectory='', Native error= Access denied

The file is read & write access granted for absolutely anyone and everyone. I can’t come up with any reason why it would be inaccessible. Does anyone here have any suggestions on this?

Does the user running Sonarr have permissions to execute it? Scripts/applications need that flag set to be able to execute.

The user is the only one on the machine, “media”, and as confirmed in the other thread, that is the user Sonarr is running as. Plus the file has been set to give read/write permissions to everyone. This script has only ever worked sporadically at best, and even now every once in a blue moon I see it work properly, but it’s extremely rare (like once every several months at best)

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