Safari download bar rar shows file icon as VLC icon, but .rar is associated with associate to The Unarchiver and should show its icon
To fix this, we need to Clear Mac OS X's icon cache.Here is how:
sudo find /private/var/folders/ -name 'com.apple.dock.iconcache' -delete sudo find /private/var/folders/ -name 'com.apple.iconservices' -delete sudo rm -r /Library/Caches/com.apple.iconservices.store
If you want .rar to be opened with The Unarchiver as default, you can:
The Change All button will make all .rar be opened with The Unarchiver and have The Unarchiver icon on it.