LXC/LXD? How did you move the containers? Did you use rsync without
--numeric-ids maybe?

b.


On 10 November 2015 at 10:37, Jamie Brown <[email protected]> wrote:

> Correction; the user was changed to “ubuntu” but the group was changed to
> “admin”. Though I’m guessing it is more to do with matching of the
> underlying user/group identities that is the problem.
>
> From: lxc-users <[email protected]> on behalf
> of Jamie Brown <[email protected]>
> Reply-To: LXC users mailing-list <[email protected]>
> Date: Tuesday, 10 November 2015 at 09:10
> To: LXC users mailing-list <[email protected]>
> Subject: [lxc-users] Ownership changes after container move
>
> Hi,
>
> I’ve discovered that some file ownership changes have occurred after
> moving stopped containers between hosts.
>
> Prior to the move there were various user directories (e.g. “/home/jamie”)
> with ownership set to jamie:jamie. After moving, the ownership was changed
> to ubuntu:ubuntu.
>
> I discovered the issue when attempting to SSH to the moved host and was
> prompted to enter my password as I no longer owned my authorized_keys file.
>
> I will try to repeat this, but I can confirm it has happened on multiple
> containers.
>
> — Jamie
>
> _______________________________________________
> lxc-users mailing list
> [email protected]
> http://lists.linuxcontainers.org/listinfo/lxc-users
>
_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to