Try the option "Repair Disk Permissions" from the disk utility
[EDIT]
For OS X El Capitan:
sudo /usr/libexec/repair_packages --repair --standard-pkgs --volume /
2.1m questions
2.1m answers
60 comments
57.0k users