containers / containers/bubblewrap

Support for user and group ID mappings

Open
#468 18 comments 14 reactions 0 assignees View on GitHub
Dominant language
C
Stars
8.7k
Forks
386
Avg merge
3d 17h
Merged PRs (30d)
11

Description

Add options `--uid-map` and `--gid-map` to map multiple users between child and parent namespace: `bwrap --uid-map ' ...' ...`

Relying on shadow `newuidmap` utility, or implementing the same whitelisting logic from /etc/subuid (/etc/subgid).

This would allow for (non-fakeroot) chown calls in build containers.

Recently added in util-linux as `unshare --map-users=...`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.