[Bug 1665943] Re: Home directory has wrong ownership if created by lxd in arranging a mount first

2019-03-27 Thread Stéphane Graber
** Changed in: lxd (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1665943 Title: Home directory has wrong ownership if created by lxd in arranging a mount fir

[Bug 1665943] Re: Home directory has wrong ownership if created by lxd in arranging a mount first

2019-02-19 Thread Stéphane Graber
Yeah, not much LXD can do about this unfortunately. We do create any missing intermediate directories as can be seen in this case, but there's no good way to know what the owner of every one of those intermediate directories should be, nor would it help here as skel still wouldn't get applied. You

[Bug 1665943] Re: Home directory has wrong ownership if created by lxd in arranging a mount first

2019-02-19 Thread Dan Watkins
(I've added lxd to the bug, as it's also a component in the issue.) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1665943 Title: Home directory has wrong ownership if created by lxd in arranging a

[Bug 1665943] Re: Home directory has wrong ownership if created by lxd in arranging a mount first

2019-02-19 Thread Dan Watkins
I've just been able to reproduce this by following these steps: ``` $ lxc init ubuntu:x c1 $ lxc config set c1 raw.idmap "both 1000 1000" $ lxc config device add c1 foo disk path=/home/ubuntu/foo source=/home/daniel/jjl $ lxc start c1 $ lxc exec c1 -- ls -lah /home/ubuntu total 16K drwxr-xr-x 4 r