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.

3 Responses to MTASC permission denied error fix.

  1. Mike Vattuone says:

    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!

  2. admin says:

    Hmm – sometimes you can get this problem when using old applications no longer supported by OSX. Try using this – http://www.grindheadgames.com/demo/mtasc/mtasc

  3. samauch says:

    The binary from above didn’t work for me. But I was able to use the source code here:
    http://mtasc.svn.sourceforge.net/viewvc/mtasc/tags/RELEASE_1_15/original/

    then compile in it my macbook air. I used the instruction from here http://tech.motion-twin.com/mtasc.html#download. I just commented out the download section. It works!!!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

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>