I have been running with the 'always_set_home' flag added to the 'Defaults' in sudoers for 10 days now, and I didn't see any problems until now, so that _might_ be a solution...
-- Some programs create root-owned files in user $HOME when run under sudo https://launchpad.net/bugs/58002 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs