read&write the all the folders in my computer

Discussion in 'Mac Programming' started by Keytachi, Dec 28, 2006.

  1. macrumors regular

    Sep 14, 2006
    hi! i just got a Macbook 2.00GHz white for Xmas:D , and i copied all my folders from my older computer, but now my World of Warcraft folder is entirley in Read only:confused: (except some folders wich i had to move to read&write. i wanted to ask if there is a way (a script or a console command) that sets all folders/files/apps/etc. to read&write?
  2. macrumors 6502

    Dec 6, 2006
    If you 'own' them. chmod is your friend. Use man.
  3. macrumors G4

    Mar 4, 2006
    Be very careful in doing this. Much better to only do the directories you need to do it on. Certainly don't do it to the entire Macintosh HD volume.

    For your World of Warcraft directory, type:-

    chmod -R 777 /Applications/<WoW directory name>

    The -R is the recursive option, so it traverses the directory tree below the named folder and replaces the permissions with read, write, execute for all users. If you're the only user on the computer the 777 could be replaced with 744 for (slightly) better security, and if the WoW directory name contains spaces, you'll have to put the path in quotation marks.
  4. macrumors regular

    Feb 14, 2006
    Would like to point out, the -R option is also available for chown and chgrp too, just in case your ownership is wrong.

Share This Page