Snow Leopard loses the default program settings (i.e. default browser, email client, newsreader etc.) sometimes on restart or after shutdown. This doesn't happen always, maybe once every 10 times. Also, all restarts or shutdowns seem fine, no stuck programs or anything else.
Any ideas what may be going on or how to fix it? Also, where are the default program settings (if that's a single file, I can write a login script to overwrite the "bad" settings with a file that contains "good" ones) ?