Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

gabigrigore

macrumors newbie
Original poster
Dec 5, 2008
5
1
Since the last BigSur update an Automator created app throws the following error (the app is placed on Desktop and invokes a Java app to be run with noGUI):
The action “Run Shell Script” encountered an error: “Password:realpath(./name_of_the_app) failed: Operation not permitted

Failed to resolve full path of the current executable [./name_of_app]”
If changing the relative path to the absolute one (My_Mac/Users/my_user/Desktop) the error is:
The action “Run Shell Script” encountered an error: “Password:Failed to map file. open(/Users/my_user/Desktop/dir_of_the_app/name_of_the_app) failed with error 1

Failure processing application bundle.

Couldn't memory map the bundle file for reading.

A fatal error occured while processing application bundle”
I also performed a Java update but the errors still persist.

Important mention: all the individual terminal commands that are used in the Run Shell Script steps in Automator (and give the above mentioned errors) RUN with NO problems if individually run in terminal.

Did anyone encounter this after last BigSur update? Any ideas of how to solve it?
Thank you very much!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.