Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

When you update your OS - (if it contains a Mail.app 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/Mail.app/Contents/Resources

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
add comment

Your Answer

 
discard

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.