Note: This document applies to Mac OS X 10.2 through 10.3.9.
Symptom
Your chosen Owner and Group settings are not copied to enclosed items after you click "Apply to enclosed items".
Solution
If you need to make such changes to many files, you can either:
- Change each item individually in the Finder's Info window (Command-I), or
- Use Terminal commands like sudo chown -R and sudo chgrp -R to make such changes.
If you need to correct the permissions on folders created by the Mac OS X Installer, click Repair Privileges in the First Aid pane of Disk Utility.
For example, to change ownership:
- Open Terminal (/Applications/Utilities/)
- In the Finder, open the window that contains the folder that you wish to modify, so that you can drag that folder into the Terminal window later
- Type the following: sudo chown -R username
Leave a space after the username, which is the shortname of the user that you'd like to own the items (for example, "smith"). Do not press Return yet.
- Drag the folder you wish to change into the Terminal window--the path automatically appears in Terminal
- Press Return
- Enter your admin password when prompted
- Quit Terminal when this is finished
For example, to change group:
- Open Terminal (/Applications/Utilities/)
- In the Finder, open the window that contains the folder that you wish to modify, so that you can drag that folder into the Terminal window later
- Type the following: sudo chgrp -R groupname
Leave a space after the "groupname", which is the shortname of the user that you'd like to own the items (for example, "smith"). Do not press Return yet.
- Drag the folder you wish to change into the Terminal window--the path automatically appears in Terminal
- Press Return
- Enter your admin password when prompted
- Quit Terminal when this is finished