Skip to content
Discussion options

You must be logged in to vote

podman unshare is going to map UserB UID to root within the user namespace
podman run --user=keep-id is going to map UserB UID to UserB UID within the user namespace.

That file in any other container not created with UserB UserNamespace is going to be treated as "nobody:nogroup".
Unless the UID:GID of the file on disk is mapped into the user namespace of the container that is looking at it.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@maxime-gerum
Comment options

Answer selected by maxime-gerum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants