LXC user mappings

GeorgiL

New Member
Jan 18, 2019
14
0
1
36
Greetings,

My question is related to user mapping of unprivileged container to be able to write to NFS share attached to host. As far as i understand I need to map a user from that container to root user on the host. However what worries me is that this same user within container runs multiple other processes which will be then equivalent to root on host. Currently the share doesnt have any specific access created for it. Is it possible to do the following - if my user have id 109 inside the container, which i guess maps to 100109 on the host, to create share write permission for id 100109? Does the rest of host processes or other nodes, will keep access to this share and does user from within the container will gain only write access to the share but still not get executed as root on the host? At what uid on host, process from other containers get mapped to?
 

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!