ShotToTheDome 7 Posted September 1, 2017 Share Posted September 1, 2017 (edited) I'm trying to bring my post-processing script from plex over and it keeps failing after recording completes. I am however able to run it from command line without issue. I am getting a "native error - access denied" in logs but I've gone over the script permissions and the script is executable. I've also checked permissions for the directory the recordings are in. I've attached my post-processing sh file as a text. I'm calling it from emby on the post-processing line of live tv as: /pathtofile/post.sh What am I missing here any ideas? When running from command line and working the command is: /path/to/post.sh "/Path/to/NameOfFile.ts" works just fine OS: Debian Linux 8.9 64bit postsh.txt embyposterror.txt Edited September 1, 2017 by ShotToTheDome Link to comment Share on other sites More sharing options...
Solution Luke 37132 Posted September 2, 2017 Solution Share Posted September 2, 2017 Hi, the error coming back is access denied so that would suggest that the emby service account doesn't have privileges to execute your script. 1 Link to comment Share on other sites More sharing options...
ShotToTheDome 7 Posted September 2, 2017 Author Share Posted September 2, 2017 (edited) well that was weird. Had to move the script to it's own directory and onto a single ssd drive that is fstab mounted exec even though the mergerfs pool the script was on was also exec mounted. The emby:emby ownership and being marked executable didn't matter where it was at. Thanks Luke Edited September 2, 2017 by ShotToTheDome Link to comment Share on other sites More sharing options...
Luke 37132 Posted September 2, 2017 Share Posted September 2, 2017 Thanks for the feedback. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now