views:

62

answers:

2

I have 777 permissions for the app AquaLess installed by MacPorts.

I run

./AquaLess.app

I get

zsh: permission denied: ./AquaLess.app

This is a strange warning, since I have 777 permissions.

How can you use the program installed by MacPorts?

+5  A: 

Type "open AquaLess.app"

A .app isn't an executable file, it's a directory that contains various resources in ways that Mac OS knows how to open. You would get the same warning if you tried to execute $HOME.

Paul Tomblin
+1  A: 

Or you could run:

$ ./AquaLess.app/Contents/MacOS/AquaLess

Which runs the actual executable within the .app bundle.

Ben
Your answer suggests me that I need to put the following PATH to my PATH: /Applicatios/MacPorts/*/Contents/MacOS/
Masi
The command in my PATH however does not work. It suggests me that I cannot use * in my PATH. Thus, it seems that the only solution is to separately add each program to my PATH.
Masi
You cannot use wildcards in PATH.
Paul Tomblin