On Fri, 2009-05-15 at 09:20 +0000, Thierry Carrez wrote:
> 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).
Patches appreciated :) certainly sounds like a valid use case. Its a
shame that we'd need to special case stuff.
On Fri, 2009-05-15 at 09:20 +0000, Thierry Carrez wrote: 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.
> This is caused by bzr not really supporting to be run under sudo.
> In config.
>
> 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).
Patches appreciated :) certainly sounds like a valid use case. Its a
shame that we'd need to special case stuff.
-Rob