I once ran
thunderbird with the
sudo command and now when I run it (with or without
sudo) it does not load my default profile. The files of my default profile are still in the
You likely messed the permissions of the folders that is uses such as the cache, and it's configuration settings.
Try running the following to get back ownership of all files in your home directory, provided you are logged in as the user who cannot open Thunderbird:
sudo chown -R $USER: ~
Make sure you're in your home directory when you do this!
If you are running as another user in a multi-user environment, you must replace
$USER with the user's name.
Ensure in the future that you do not run it as root again. Similar issues can happen with other software as well. It is safer to use
sudo with the
-H flag :
sudo -H (executable) so that the software runs in
root's home directory instead of your own user's home folder.