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).
** Changed in: etckeeper (Ubuntu)
Importance: Undecided => Medium
** Changed in: etckeeper (Ubuntu)
Status: New => Confirmed
** Summary changed:
- .bazaar created owned by root
+ ~/.bazaar created owned by root (when run under sudo)
** Also affects: bzr (Ubuntu)
Importance: Undecided
Status: New
--
~/.bazaar created owned by root (when run under sudo)
https://bugs.launchpad.net/bugs/376388
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs