diff --git a/documents/proxmox/proxmox_lxc_usermappings/content.md b/documents/proxmox/proxmox_lxc_usermappings/content.md index dd1f8e0..1316a64 100644 --- a/documents/proxmox/proxmox_lxc_usermappings/content.md +++ b/documents/proxmox/proxmox_lxc_usermappings/content.md @@ -16,9 +16,11 @@ So when you create a user in the container with uid 1000, it will be mapped to u The reason the ownership changed to nobody/nogroup is because you later provided a custom mapping. Now uid 1000 in the container is not mapped to 101000 on the host, it is now mapped directly to uid 1000 on the host. In fact uid 101000 is no longer mapped at all, so Proxmox doesn't recognize it and assigns it as nobody/nogroup. +```bash lxc.idmap: u 0 100000 1000 //maps 0-999(CT) -> 100000-100999(Host) lxc.idmap: u 1000 1000 1 //maps 1000(CT) -> 1000(Host) lxc.idmap: u 1001 101001 64535 //maps 1001-65535(CT) -> 101001-165535(Host) +``` To fix this: