Comment 5 for bug 376388

Revision history for this message
Martin Pool (mbp) wrote : Re: [Bug 376388] Re: ~/.bazaar created owned by root (when run under sudo)

On 17 February 2010 00:48, Soren Hansen <email address hidden> wrote:
> Would using pwd.getpwuid(os.geteuid()).pw_dir rather than
> os.environ['HOME'] cause more problems than it solves?

I think so.

The right place to solve this is imo under sudo, by using the set_home
config option or -H option. This is not particularly specific to bzr.

--
Martin <http://launchpad.net/~mbp/>