Public bug reported:

I tried to copy an lxc container between two hosts. All worked as
expected, but when I looked at the underlying filesystem I realised that
the container that has been copied onto the new machine retained its
original uid/gid (running unprivileged):

root@ii:/var/lib/lxd/containers# ls -al
total 24
drwx--x--x  1 root   root     58 Jun 23 12:01 .
drwxr-xr-x  1 root   root    182 Jun 23 12:04 ..
drwxr-xr-x+ 1 100000 100000   56 Jun 23 10:38 backend
-rw-r--r--  1 root   root   4446 Jun 23 12:04 lxc-monitord.log
drwxr-xr-x+ 1 100000 100000   56 Jun 23 12:01 putils

(putils has been copied from a different host).

I'd expect a new uid/gid to be allocated for the copied host.

** Affects: lxc (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1699919

Title:
  lxc copy between hosts preserves original uid/gid

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1699919/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to