Bulk change permissions on Mac OS X

If you would like a folder and all its ancestors to have permission changes do the following:

  1. Cmd+i on the folder
  2. Click the lock at the very bottom and authenticate
  3. Change the permissions how you want them
  4. Click the preferences “navigation¬† wheel” button and select “Apply to enclosed items”

To unlock a file:

  1. Copy “sudo chflags nouchg ” (with the space)¬†into Terminal. Don’t hit enter.
  2. Drag the file that needs to be unlocked into Terminal and it’s absolute link should be appear where your cursor was.
  3. Hit enter. You may need to authenticate.

To unlock a folder and everything beneath it, use “sudo chflags -R nouchg ” in step 1.

Leave a Reply