Howdy folks,
Brand new Proxmox user and I've hit a roadblock with NFS shares in an unprivileged LXC container. I've been trying to bind mount and map based off this guide. My UID/GID 3000 mapping in the VM {id}.conf looks like this:
I also updated
Even after restarting the containers, I get permission denied when trying to cd into the mounted folders as root in the container (UID 0). NFS seems correctly set, and the folders get the 3000:3000 uid:gid, but something is going wrong with the root to 3000 mapping and I'm not quite sure what it is. It's been a while since I've been this deep in Linux so my diagnosing skills are lacking a bit here.
Any tips or similar experiences would be super helpful!
Thanks!
Brand new Proxmox user and I've hit a roadblock with NFS shares in an unprivileged LXC container. I've been trying to bind mount and map based off this guide. My UID/GID 3000 mapping in the VM {id}.conf looks like this:
Code:
...
lxc.idmap = u 0 100000 3000
lxc.idmap = g 0 100000 3000
lxc.idmap = u 3000 3000 1
lxc.idmap = g 3000 3000 1
lxc.idmap = u 3001 103001 62534
lxc.idmap = g 3001 103001 62534
I also updated
/etc/subuid
and /etc/subgid
on the host with root:3000:1
.Even after restarting the containers, I get permission denied when trying to cd into the mounted folders as root in the container (UID 0). NFS seems correctly set, and the folders get the 3000:3000 uid:gid, but something is going wrong with the root to 3000 mapping and I'm not quite sure what it is. It's been a while since I've been this deep in Linux so my diagnosing skills are lacking a bit here.
Any tips or similar experiences would be super helpful!
Thanks!