The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Changing permissions on a group of files

    Discussion in 'Apple and Mac OS X' started by SP Forsythe, Jul 26, 2010.

  1. SP Forsythe

    SP Forsythe Notebook Evangelist

    Reputations:
    173
    Messages:
    664
    Likes Received:
    0
    Trophy Points:
    30
    I am not familiar with an aspect of file management within OS X.

    I had occasion to back-up a website onto a DVD disk.
    Then after copying all the files onto my MB, I proceeded to edit some of the files and noticed a problem. All the files are marked "read-only", and hence can't be edited and saved without changing the permissions. I can change individual files and/or folders, but that's it. If I do it a file/folder at a time, it will take several hours of very tedious work. There has to be an easy way.

    The question is...how do I reset the permissions of a folder, all of its subfolders and files in one action move?

    In windows it's rather easy. Simply change the root folder to read and write and then direct that all subfolders and contents also be similarly be changed in the dialog box that automatically pops up. OS X does not have this provision that I can find.
     
  2. crpngdth2001

    crpngdth2001 Notebook Consultant

    Reputations:
    87
    Messages:
    195
    Likes Received:
    0
    Trophy Points:
    30
    Does the following work, noting the last part:

    Select the disk, folder, or file and choose File > Get Info.

    If the Sharing & Permissions pane is not visible, click the disclosure triangle to show it.

    Click the lock icon, type your user name and password, and click OK.

    To choose a permission for yourself, select from the pop-up menu. To choose permissions for others who could use the item, select options in the Name and Privilege columns.

    To apply the same permissions to every item contained in the selected folder or disk, open the Action (gear) menu and choose “Apply to enclosed items.”
     
  3. SP Forsythe

    SP Forsythe Notebook Evangelist

    Reputations:
    173
    Messages:
    664
    Likes Received:
    0
    Trophy Points:
    30
    Thank you.
    I will try it.
     
  4. crpngdth2001

    crpngdth2001 Notebook Consultant

    Reputations:
    87
    Messages:
    195
    Likes Received:
    0
    Trophy Points:
    30
    Also, the files could potentially need root access to change permissions. By default, the root user is disabled and you use your owner level account. You may need to enable the root account and login as root to change the permissions as noted above.

    Of course, many say enabling root is not the best idea and not secure. Enable it at your own risk.
     
  5. SP Forsythe

    SP Forsythe Notebook Evangelist

    Reputations:
    173
    Messages:
    664
    Likes Received:
    0
    Trophy Points:
    30
    I tried it, and it worked well. Thanks again.
     
  6. doh123

    doh123 Without ME its just AWESO

    Reputations:
    996
    Messages:
    3,727
    Likes Received:
    1
    Trophy Points:
    106
    just make sure you select the "Apply to Enclosed Items" option to change everything in a folder you are using Get Info on