Hello,
I would like to mount a folder from the proxmox host to an unprivileged lxc-container.
For this I added the following line to the container configuration:
Such a created folder I can see on the lxc-machine being logged in as standard user but if I try to create a folder with the standard user, then I get "permission" denied.
Furthermore none of the lxc-users can see the content of the folder which is on the host and also the host cannot see the folder created on the lxc-container.
On the host as well on the lxc-container the same user is existant and
What could be the problem?
Thanks
I would like to mount a folder from the proxmox host to an unprivileged lxc-container.
For this I added the following line to the container configuration:
mp0: /theshire/br,mp=/mnt/br none bind 0 0
df
on the lxc deliveres the following for the mounted folder: rpool/ROOT/pve-1 453852672 80682112 373170560 18% /mnt/br none bind 0 0
mkdir
logged in as root on the lxc in /mnt/br
works.Such a created folder I can see on the lxc-machine being logged in as standard user but if I try to create a folder with the standard user, then I get "permission" denied.
Furthermore none of the lxc-users can see the content of the folder which is on the host and also the host cannot see the folder created on the lxc-container.
On the host as well on the lxc-container the same user is existant and
id
deliveres exact the same (same user-id, groups and group-ids). Also the folder on the host belongs to that user as well.What could be the problem?
Thanks