I am Using OS X 10.5.7, and I am trying to tunnel an application. the problem is that when The application is downloaded from the server, it arrives with the permissions 644... As a result the program will not run unless the permissions are changed. I have come up with a solution where a bash script is sent with the application and run first by bash, this script makes the application permissions 755, and then it runs the application. This works to run the application, however the tunnel is lost. I believe the tunnel is being attached to the script and not the application itself. However, even if this was not the case, It would be nice if OS X/Unix programs came down with permissions allowing them to execute. This does not seem like a difficult thing to change. I will attach my script, and my xml file.
bash script and extension.xml file