I'm trying to do a very typical uid mapping. I have both a Guest and Host user id 5000.
Just for reference I'm adding my config, it is valid, because it works. I see Bind mount files on Guest/Host owned by #5000 user as their respective users in Guest/Host.
BUT. When the mapping is added, the /home folder of #5000 on the Guest is suddenly being owned by 65534/nobody. What could be the possible issue?
I tried the same with multiple container templates (Turnkey, Alpine) with same results...
Just for reference I'm adding my config, it is valid, because it works. I see Bind mount files on Guest/Host owned by #5000 user as their respective users in Guest/Host.
Code:
lxc.idmap: u 0 100000 5000
lxc.idmap: g 0 100000 5000
lxc.idmap: u 5000 5000 1
lxc.idmap: g 5000 5000 1
lxc.idmap: u 5001 105001 60535
lxc.idmap: g 5001 105001 60535
// sub{g,u}id
root:100000:65536
root:5000:1
BUT. When the mapping is added, the /home folder of #5000 on the Guest is suddenly being owned by 65534/nobody. What could be the possible issue?
I tried the same with multiple container templates (Turnkey, Alpine) with same results...