I have a Service on macOS that runs an Automator workflow to add a background to a pdf file using the pdftk commandline utility. The Automator worflow basically consist of one step: a shell script that runs pdftk with the right parameters.
Until Catalina this worked without any problem. When I just tried to run it on Catalina I got an error:
The action “Run Shell Script” encountered an error: “Error: Failed to open background PDF file: ....
The “background pdf file” is still there and has never been in another location.
Running the command from a terminal works fine. But if I run it as a Service (from Finder) it throws this error.
It sounds like (another) permission issue caused by Catalina’s new security policies. Problem is, I have no clue how to fix it. Does anyone have an idea? Or encountered something similar?