This commit is contained in:
2024-08-10 00:53:48 -05:00
parent 0db0139a8a
commit 829209e945

View File

@@ -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: