diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2025-12-17 18:01:04 +0100 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2025-12-19 00:05:43 +0100 |
| commit | 7b9c30de1fba4ec190ca7fb6f2d85ddc802f7778 (patch) | |
| tree | f5339f085d0c5a36a76c2aea9d657aac87209789 /gnu | |
| parent | 0c60cfcd37476fabfc5e8a945edecdfb22783370 (diff) | |
environment: Do not attempt to map GID 0 when invoked as root.
* guix/scripts/environment.scm (launch-environment/container): Set ‘gid’ to
1000 when ‘getgid’ returns zero.
Fixes: guix/guix#4234
Reported-by: Maxim Cournoyer <maxim@guixotic.coop>
Change-Id: I781f2939dfd3cda23373d2fa03e288995bce9eb9
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions
