trying to run Apache James (email server) on Mac -- getting "Permission denied" error -- help?
You have to set chmod 755 for all the *.sh files in this directory. For that you could run

find ./james-2.3.2 -type f -name '*\.sh' -exec chmod +x {} \;


This command will look for files which end with .sh and sets the executable bit (okey, there are only two, the run.sh and phoenix.sh)

But you still have to set JAVA_HOME otherwise james will complain. And you have to run it as 'root' user since it the application will listen to a port &lt; 1024. For me the following let me run james:

sudo JAVA_HOME=/Library/Java/Home ./james-2.3.2/bin/run.sh