MTASC permission denied error fix.

Recently I received a shiny new Mac which I have been setting up for development. Im using the open source MTASC compiler for some projects which is used for compilation of the SWF files. However after checking out the repository onto my new machine I received this error when running the compiler either from Terminal or from within the ANT script used to build the project:

/Users/craigbeswetherick/Grindhead/clientname/projectname/build.xml:31: Execute failed: java.io.IOException: Cannot run program "../tools/mtasc-1.12-osx/mtasc": error=13, Permission denied

To fix this problem, use Terminal and use the following command to change the permissions granted to MTASC. Type chmod 777 specifying the path to the file. Alternatively you can use the cd command to navigate to the folder of the application and then run chmod 777

You should now be able to compile SWF’s using MTASC again.

Share on FacebookTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditShare on StumbleUponShare on TumblrEmail this to someone

3 thoughts on “MTASC permission denied error fix.

  1. Funny, upon running mtasc, the error I get is:

    “Launch of “mtasc” failed: the PowerPC architecture is no longer supported.”

    Pretty straightforward error, except I don’t see an intel version of mtasc available anywhere. Do you know where you got your copy? Thanks!

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>