Hey guys,
I'm trying to get my lxc container running with an nfs share for my nextcloud data directory.
So far I've mounted the nfs share on the host, added a bind mount point for the container, mapped the uid and gid.
Inside of the container the user and group shows correctly. But if I add a user to the group the user does not have permission to cd into the directory.
this is the ls -la run on the storage server
this is the ls -la run on the proxmox host
this is the ls -la run from inside the container
My id mapping:
and i've added "root:1005.1" to /etc/subuid and /etc/subgid
Can anybody tell me if I'm missing something?
I'm trying to get my lxc container running with an nfs share for my nextcloud data directory.
So far I've mounted the nfs share on the host, added a bind mount point for the container, mapped the uid and gid.
Inside of the container the user and group shows correctly. But if I add a user to the group the user does not have permission to cd into the directory.
this is the ls -la run on the storage server
this is the ls -la run on the proxmox host
this is the ls -la run from inside the container
My id mapping:
Code:
lxc.idmap: u 0 100000 1005
lxc.idmap: g 0 100000 1005
lxc.idmap: u 1005 1005 1
lxc.idmap: g 1005 1005 1
lxc.idmap: u 1006 101006 64530
lxc.idmap: g 1006 101006 64530
and i've added "root:1005.1" to /etc/subuid and /etc/subgid
Can anybody tell me if I'm missing something?
Last edited: