]> git.ipfire.org Git - thirdparty/coreutils.git/commit
id: output the effective group for the process
authorPetr Stodůlka <pstodulk@redhat.com>
Wed, 25 Jun 2014 17:26:23 +0000 (18:26 +0100)
committerPádraig Brady <P@draigBrady.com>
Thu, 26 Jun 2014 11:07:10 +0000 (12:07 +0100)
commit408461c0e7e5ddc6bfd0fddb2c79d35a02238ee0
tree217c189cbf8ef3bc5b0279e78a7e2cdfed4c3afe
parentd71c12f1e4e165c7da59989b49ded2805b7977cc
id: output the effective group for the process

* src/id.c (print_full_info): When no user is specified,
output the effective group for the _process_, rather than
the default group from the system database, which may be different.
* tests/id/setgid.sh: Add a case for `id` as well as `id -G`.
* NEWS: Mention the bug fix.
Fixes http://bugs.gnu.org/7320
Reported at http://bugzilla.redhat.com/1016163
NEWS
src/id.c
tests/id/setgid.sh