There's been more than one occasion where something has gone with system because all the sudden there were permision changes to certain key files (sometimes taking a long time to find which file is the culprit) becomes -rw-------. Once I do a chmod 777 filename, then everything appears to be fine.
For example, I was trying to Install vncserver on an Ubuntu machine. For whatever reason, vncserver failed to start so I rebooted the machine and then. Then I was unable to log into Xcfe session because the /home/user/.Xauthority was file -rw------- instead of -rwxrwxrwx. Did chmod 777 /home/user/.Xauthority and it corrected my issue.
This wasn't the only time I've experience something along these lines. So my question is, what cuases this to happen? Do I need to be watch as to what install?