Nextcloud Data NFS share

Kyreus

Member
May 23, 2019
9
0
6
25
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.

haaKFEaYCK

this is the ls -la run on the storage server

YVaK1ZIRmM

this is the ls -la run on the proxmox host

E2a343GOkL

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: