You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[gap] groups/id/stat: unresolvable group name prints literal 'None' #1024
When a group ID has no resolvable name, GNU prints the numeric ID (and groups/id report the lookup failure). WinuxCmd prints the literal string None and exits 0.
Repro
winuxcmd.exe groups
winuxcmd.exe id -gn
winuxcmd.exe stat -c '%G' f1.txt
GNU coreutils 8.32 (cygwin)
$ groups
groups: cannot find name for group ID 197121
197121 (stderr + exit 1)
$ id -gn
id: cannot find name for group ID 197121
197121 (stderr + exit 1)
$ stat -c %G f1.txt
UNKNOWN
WinuxCmd 1.0.6
$ groups -> None (exit 0)
$ id -gn -> None (exit 0)
$ stat -c %G f1.txt -> None (exit 0)
Fixed in release/v1.0.6 — verified against GNU coreutils 9.4 (WSL) with byte-identical or semantically identical output. See the GNU-parity commits on this branch.
Activity
caomengxuan666 commentedon Sep 14, 2026
Fixed in release/v1.0.6 — verified against GNU coreutils 9.4 (WSL) with byte-identical or semantically identical output. See the GNU-parity commits on this branch.
fix(stat,groups,id): GNU format coverage and ChangeTime
uname/id/hostname/getconf: Windows value model of the 1.x C++ applets
wire id to the rust2 staticlib, drop its C++ body (#1488)
rust2: groups — NetUserGetGroups value model with the #1024 None rule (…
groups: rust2 library port + 22-case three-way gate (#1488 wave6)
rust2: groups — NetUserGetGroups value model with the unixwin#1024 No…
groups: rust2 library port + 22-case three-way gate (#1488 wave6)