Repository navigation
Commit 7bfb764
doc: say that caller ownership fails while a group may be unmapped
The run guide's file-ownership section says that, in a user namespace
that does not map every group, OpenVMM counts a group of its own that
reads as the overflow GID as another group, even for a caller with
that GID, so that an OpenVMM with CAP_SETGID would drop it. The pinned
OpenVMM no longer drops such a group (#1606): getgroups
reports each unmapped group as the overflow GID, 65534 by default, and
setgroups accepts only groups that the namespace maps, so OpenVMM could
never regain it. It can neither keep such a group, which may be any
group, nor drop it, so it now fails with EPERM each operation that
runs as its caller while one of its groups reads as the overflow GID,
even with CAP_SETUID and CAP_SETGID.
Say so, with an example of such a namespace and what to do there.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent ee244ce commit 7bfb764
1 file changed
Lines changed: 10 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1570 | 1570 | | |
1571 | 1571 | | |
1572 | 1572 | | |
1573 | | - | |
1574 | | - | |
1575 | | - | |
1576 | | - | |
1577 | | - | |
1578 | | - | |
1579 | | - | |
1580 | | - | |
| 1573 | + | |
| 1574 | + | |
| 1575 | + | |
| 1576 | + | |
| 1577 | + | |
| 1578 | + | |
| 1579 | + | |
| 1580 | + | |
| 1581 | + | |
| 1582 | + | |
1581 | 1583 | | |
1582 | 1584 | | |
1583 | 1585 | | |
| |||
0 commit comments