Comment 1 for bug 376388

Revision history for this message
Thierry Carrez (ttx) wrote : Re: .bazaar created owned by root

This is caused by bzr not really supporting to be run under sudo.
In config.py:ensure_config_dir_exists it creates $HOME/.bazaar without dropping rights to the $SUDO_USER. Unfortunately the same could be said for all other config-writing functions. I'm not exactly sure where (and how) it would be best to fix that.

Adding a bzr task to this bug to drag bzr developers into the discussion. The fix for this one could also be discussed at the bzr/etckeeper session at UDS (server track).