zsh: permission denied: trying to run app via Terminal

I am encountering a zsh: permission denied: message when trying to run an app created from the script editor.


In Finder, I can double click the app and it will work just fine.


Example of the Terminal command:

/Volumes/SomeVolume/SomeFolder/myApp.app


ErrorMessage:

zsh: permission denied: /Volumes/SomeVolume/SomeFolder/myApp.app


Your thoughts are appreciated.

Posted on Sep 10, 2021 9:45 AM

Reply
Question marked as Top-ranking reply

Posted on Sep 10, 2021 10:19 AM

To run an application from Terminal, either call the executable directly, or use the "open -a" command:



/Volumes/SomeVolume/SomeFolder/myApp.app/Contents/MacOS/myApp


or


open -a /Volumes/SomeVolume/SomeFolder/myApp.app



Similar questions

1 reply

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

zsh: permission denied: trying to run app via Terminal

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.