Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I had used CandyBar to change my icon. After apply the 10.8.2 Supplemental Update 1, the icon has reverted. How can I prevent that from happening in the future?

share|improve this question
up vote 1 down vote accepted

When you update your OS - (if it contains a update) it will replace the previous version of the app with the new one and by doing this it will also replace the icon file.

Anyway something that you can try after you've replaced the icon again:

1.Open Terminal and enter this command - sudo /System/Library/CoreServices/Finder.p/Contents/MacOS/Finder

2.Enter your password and press Enter

3.WITHOUT switching to other windows press CMD + TAB and select Finder

4.Press CMD + N this will open a new Finder Window with root privileges (BE EXTREMELY CAREFUL WHAT YOU DO)

5.Press CMD + G and enter /Applications/

6.Find the Mail.icns(it should be the new one you chose) file - Right Click it and select Get Info

7.Check the Locked attribute.

8.Go back to the terminal window and press CONTROL + C this will close the Finder Window.

This should prevent it from being overwritten

Command line alternative:

sudo chflags uchg /pathToFile/filename

share|improve this answer
Is there any way to do that all via the shell? – segiddins Oct 9 '12 at 2:28
Oh yes, of course. You would simply do this: sudo chflags uchg /pathToFile/filename – Atanas Bozhkov Oct 9 '12 at 2:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.