PAServer Unable to Execute Command-Line Tool

From RAD Studio
Jump to: navigation, search

Go Up to Platform Assistant Server Errors Index

The execution of the target command-line tool on the Mac finished with an error. While there are several possible causes, you should:

  • Check that the parameters passed to the command-line tool are correct, with valid command-line options, as well as valid values for each command-line option that requires them.
  • Check that you have permission to execute the command-line tool. See Gain Execution Permission on the Target Command-Line Tool below.

Gain Execution Permission on the Target Command-Line Tool

In order to run the target command-line tool, you need execution permission on that command-line tool. To check your permissions on the target command-line tool, open a terminal an run ls -l <path/to/the/tool>. For example:

$ ls -l /usr/bin/codesign

The output should start with this string: -rwxr-xr-x. If the output starts with a different string, such as -rwxr--r--, run sudo chmod +x <path/to/the/tool> to gain permission to execute the target command-line tool. For example:

$ sudo chmod +x /usr/bin/codesign