3178 Views 4 Replies Latest reply: Feb 9, 2010 2:28 AM by Bankim J. Tejani
Thanks for the information. I was not very comfortable to dive right into the Command Line Interface, but I was able to use chmod & chgrp to fix my problem on the MacBook Pro. Still need to finish fixing the Mac Pro, but I am confident you solved my problem.
I did have some folders and files (some hidden) in my StartupItems Folder that needed repair, but I resolved some of them by just discarding them since I had no ill effects from not having them running prior to the repair. So far so good.
Open a terminal window (Utilities->Terminal.app)
chown - changes ownership of a file/directory
chgrp - changes group of a file/directory
chmod - modifies permissions of a file/directory
sudo - enables you to take a super user role for the proceeding command
You can use any of the above commands with a "-h" flag to get help on using the command. The following sequence of commands will set the directory correctly:
sudo chmod 755 StartupItems
sudo chown root StartupItems
sudo chgrp wheel StartupItems
You can verify by using: ls -la
In the results you should see:
drwxr-xr-x 4 root wheel 136 Feb 8 18:39 StartupItems
You may also find this intro to command line for Mac (GUI) users helpful: