Meaningful, highly visible error messages are nice. But if config files in $HOME, which programs need to write to, are owned by root, you can't expect your system to work. Programs typically crash then; root owned files in $HOME may even prevent you from being able to log in.
If you can show me a reproducible use case where ~/.pam_environment gets owned by root through normal use of the system, it's indeed a bug which should be fixed. But probably it happened via some mistake you did yourself, and error handling can't reasonably anticipate every possible user error. ;) With that said, in this case the program did provide useful debugging info; it did "not just crash": running '/usr/share/language-tools/save-to-pam-env' failed: no output That's why I easily could point you to what the problem was. ** Changed in: language-selector (Ubuntu) Status: Incomplete => Opinion -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1758141 Title: language selecter crashing when trying to change language region german-german to german-switzerland To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/1758141/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs