Comment 4 for bug 2019753

Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 2019753] Re: juju scp does not preserve original ownership, permissions

Note that `juju scp` for K8s *doesn't* invoke scp itself, because there is
no ssh agent running inside of containers. So we have to approximate it
with the equivalent K8s api requests (my understanding is that it is
roughly equivalent to kubectl exec commands.)

I don't know the details for how we emulate scp, it is probably worth
having some similar behaviors there.

On Thu, May 18, 2023 at 10:16 PM Leon <email address hidden> wrote:

> Just noticed it says "source file", not "destination file".
> For "juju scp" from host into container I'd like to be able to preserve
> props of destination file.
>
> Again, this is not too critical. More of a question about design's
> intent than a request.
>
> --
> You received this bug notification because you are subscribed to
> Canonical Juju.
> Matching subscriptions: juju bugs
> https://bugs.launchpad.net/bugs/2019753
>
> Title:
> juju scp does not preserve original ownership, permissions
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju/+bug/2019753/+subscriptions
>
>