Nextcloud Data NFS share

Kyreus

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

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!