6 Replies Latest reply: Dec 11, 2011 8:13 PM by phil_n22
phil_n22 Level 1 (0 points)

Hi, I'm trying to change the permissions on an app through terminal. The app name is more than one word (Dora's Big Birthday Adventure.app) and I can't seem to do it. I'm trying to use the chmod command, and it says that the file name does not exist. Can anyone help?


iMac, Mac OS X (10.7.2)
  • Denico Level 3 (670 points)

    Hi...

     

    Add a ' before and after the filename

     

    /Dennis

  • Linc Davis Level 10 (192,679 points)

    Enter the chmod command and its options, but not the path. Enter a blank space. Drag the application icon into the Terminal window and press return.

  • BobHarris Level 6 (17,709 points)

    NOTE:  a .app is really just a directory,and changing the permissions of the .app directory may not do exactly what you want.

     

    You might be better off, using Finder -> File -> Get Info to change the permissions of a .app which should do the "Right Thing" for the contents of the .app

  • softwater Level 5 (5,370 points)

    Enclose the name of the file in "quotations marks" to make Terminal ignore the space.

     

    >Dora's Big Adventure.app

    will return

    Dora: no such file or directory

     

    you need to type

     

    >"Dora's Big Adventure.app"

  • phil_n22 Level 1 (0 points)

    Did that, and I was successful in changing the permissions. Although now on my daughter's account, the app shows up as "damaged or incomplete". Sigh. Anybody know how to get around this? I installed it on my account, then uninstalled it, deleted all the files that had the app name in them, then installed it aon her account, but it still will only play on my account.

  • phil_n22 Level 1 (0 points)

    Never mind, I got it! had to use the sudo command. Thanks for your help guys!