Hi, I’ve installed seafile using the installation script that generate an unprivileged LXC. Then I’ve created an NFS share (it’s support 4.1 version) on my NAS, enabled root-squash and mounted under the proxmox’s host machine like a normal share.
Then I’ve mapped manually the share from the host to the container modifing the conf file in /etc/pve/lxc/103.conf . The command used is :
mp0: /mnt/qnap/seafile,mp=/mnt/nas
in this way the container see the network share but assign to uid an gid like 65535, that don’t are compliant with the local user “seafile” needed for the process to work.
Ain’t find a simple way to repair this, in the container. If I will try to mount the NFS directly in the container, for some reason the nfs module says permission denied.
The last change is to install a regular VM and use that to install seafile, but seems too much for a single service like this.
Someone have advise or tricks to permit to the LXC to view the mount share with the correct user (uid=1000 and gid=1000)