I've mounted an NFS share on my Proxmox host, and I want to bind mount it inside several containers.
But all the files belong to "nobody" and "nogroup".
That alone is confusing, I thought the IDs would just be 100.000 higher than on the host?
But while on the host the files belong to UID 1001 and GID 2000, on the client they belong to both UID 65534 and GID 65534.
I tried to setup an idmap, and I've tried quite a few guides.
But any notation that I try ends up with my container refusing to boot.
This for example:
Or maybe it's written like this?
I have no clue, but none of the different methods work.
So please: how can I actually edit the mounted NFS files in my container?
But all the files belong to "nobody" and "nogroup".
That alone is confusing, I thought the IDs would just be 100.000 higher than on the host?
But while on the host the files belong to UID 1001 and GID 2000, on the client they belong to both UID 65534 and GID 65534.
I tried to setup an idmap, and I've tried quite a few guides.
But any notation that I try ends up with my container refusing to boot.
This for example:
Code:
lxc.idmap: u 0 100000 1000
g 0 100000 1000
u 1001 1001 1
g 1001 1001 1
u 1002 101000 64535
g 1002 101000 64535
Or maybe it's written like this?
Code:
lxc.idmap: u 0 100000 1000
lxc.idmap: g 0 100000 1000
lxc.idmap: u 1000 1001 1
lxc.idmap: g 1000 1001 1
lxc.idmap: u 1001 101001 64535
lxc.idmap: g 1001 101001 64535
I have no clue, but none of the different methods work.
So please: how can I actually edit the mounted NFS files in my container?