Comment 2 for bug 1747357

Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 1747357] Re: controllers.yaml permission change from user to root when using "sudo juju status" or juju under sosreport

It seems like it would be possible to do a chown while we're creating the
temporary file (make sure it has the same owner and permissions as the
original file before we rename it into place).

On Tue, Feb 20, 2018 at 12:18 AM, Tim Penhey <email address hidden>
wrote:

> This will be due to the way we update the controllers file atomically,
> but writing a new temp file and moving into place. We should look into
> this a bit deeper.
>
> ** Changed in: juju
> Status: New => Triaged
>
> ** Changed in: juju
> Importance: Undecided => Medium
>
> ** Tags added: local-config ui
>
> --
> You received this bug notification because you are subscribed to juju.
> Matching subscriptions: juju bugs
> https://bugs.launchpad.net/bugs/1747357
>
> Title:
> controllers.yaml permission change from user to root when using "sudo
> juju status" or juju under sosreport
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju/+bug/1747357/+subscriptions
>