Discussion:
systemd-nspawn map UID/GID between cointainer and host
(too old to reply)
basti
2017-07-19 19:16:43 UTC
Permalink
Raw Message
Hello,
I have some users inside container hat had the same uid/GID on host.
The files are bind to container and has rights "700" on host.
I can't access files inside container (permission denied).
so far so good.

Is there a way to map uid/gid from host to container or from container
to host,
that user with uid 1004 on container can access files owned by user with
uid 1004 on host?

there are multiple uid so that --private-users option is not usable I
think.

Best regards,
basti

Loading...