Hi all:
I use proxmox 6 under debian 10 using zfs filesytem
I have a mail server and i want to mount a directory from host into the guest
after install my directory looks like
ls -lhn
drwx------ 5 2000 2000 5 juil. 26 23:11 vmail1
drwx------ 2 0 0 2 juil. 5 19:14 vmail2
I want to use vmail2 for my mail
I add the following ligne in the configuration
mp0: /tankdur/fichiers/deb10mail,mp=/var/vmail/vmail2
when restart my rep looks like:
drwx------ 5 2000 2000 5 juil. 26 23:11 vmail1
drwxr-xr-x 9 65534 65534 9 juil. 5 15:50 vmail2
or
drwx------ 5 vmail vmail 5 juil. 26 23:11 vmail1
drwxr-xr-x 9 nobody nogroup 9 juil. 5 15:50 vmail2
I saw i have to mapped my user https://pve.proxmox.com/wiki/Unprivileged_LXC_containers
cat /etc/subuid
vmail:100000:65536
cat /etc/subgid
vmail:100000:65536
I try lot of combinaison in my /etc/pve/lxc/num.conf but i do not manage to "map" the id.
I may miss something but i don't know where.
So How to have my vmail2 owned by user vmail ?
Thanks for your help.
I use proxmox 6 under debian 10 using zfs filesytem
I have a mail server and i want to mount a directory from host into the guest
after install my directory looks like
ls -lhn
drwx------ 5 2000 2000 5 juil. 26 23:11 vmail1
drwx------ 2 0 0 2 juil. 5 19:14 vmail2
I want to use vmail2 for my mail
I add the following ligne in the configuration
mp0: /tankdur/fichiers/deb10mail,mp=/var/vmail/vmail2
when restart my rep looks like:
drwx------ 5 2000 2000 5 juil. 26 23:11 vmail1
drwxr-xr-x 9 65534 65534 9 juil. 5 15:50 vmail2
or
drwx------ 5 vmail vmail 5 juil. 26 23:11 vmail1
drwxr-xr-x 9 nobody nogroup 9 juil. 5 15:50 vmail2
I saw i have to mapped my user https://pve.proxmox.com/wiki/Unprivileged_LXC_containers
cat /etc/subuid
vmail:100000:65536
cat /etc/subgid
vmail:100000:65536
I try lot of combinaison in my /etc/pve/lxc/num.conf but i do not manage to "map" the id.
I may miss something but i don't know where.
So How to have my vmail2 owned by user vmail ?
Thanks for your help.