Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

MapFileParser.sh: Permission denied - not set as executable in Unity 4.6.8p1

Discussion in 'iOS and tvOS' started by Dreamwriter, Sep 3, 2015.

  1. -chris

    -chris

    Joined:
    Mar 1, 2012
    Posts:
    99
    For me, using sudo with chmod did the trick:

    Code (bash):
    1. sudo chmod a+x MapFileParser.sh
     
  2. solomonoshaba

    solomonoshaba

    Joined:
    Mar 17, 2022
    Posts:
    1
    The error is called when the files are downloaded from the internet by the mac.
    Soultion: Download files using a Windows PC and transfer them to the mac via a flash drive.
     
  3. emersondesign

    emersondesign

    Joined:
    Mar 14, 2015
    Posts:
    5
    Worked for me - THANK YOU!
     
  4. LT23Live

    LT23Live

    Joined:
    Jul 8, 2014
    Posts:
    79
    The chmod solution works for me.

    This happens to us because we make the project in windows or just a different mac, zip up the build and use ftp like google drive or remote servers to transfer them to the final build machine.
     
  5. Noisecrime

    Noisecrime

    Joined:
    Apr 7, 2010
    Posts:
    1,995
    For those of us who don’t use Mac’s that often, setting chmod +x /path/to/MapFileParser is done via the Terminal.
    Simply open Terminal then type ‘chmod +x ‘ (without quotes) then drag the MapFileParser.sh you want to fix onto the Terminal, this will automatically add the full path to that file to the end of the command, saving a lot of pain and typing.
     
    xucian likes this.
  6. faizidev

    faizidev

    Joined:
    Aug 20, 2014
    Posts:
    4
    :::::: ITS WORKS::::::

    Just open terminal at project folder and run following command
    chmod +x MapFileParser.sh
    Then clean the build folder and do archive