bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

coreutils 5.2.1 bug: id -Gn


From: Bulgrien, Kevin
Subject: coreutils 5.2.1 bug: id -Gn
Date: Mon, 11 Apr 2005 13:30:07 -0500

Here is 5.2.1 behavior.  Please note the difference in output when id -Gn
is invoked with/without a user name.  Is this fixed in 5.3.0?  I do not
see a reference to "id" in the list of changes, but maybe I missed it.

id -Gn without a user name gives double output for most groups that a user
is a member of.

---

$ id --version
id (coreutils) 5.2.1
Written by Arnold Robbins and David MacKenzie.

Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ id -Gn
root adm adm wheel wheel news news apache apache cvs cvs cvsadm cvsadm
webadm webadm
$ whoami
blahblah
$ id -Gn blahblah
root adm wheel news apache cvs cvsadm webadm

---

For reference, please consider this correct behavior from an old version
that
is consistent in both cases when a user name is provided and when one is
not.

---

$ id --version
id (GNU sh-utils) 2.0.11
Written by Arnold Robbins and David MacKenzie.

Copyright (C) 2000 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ id -Gn
blahblah root news cvs cvsadmin webadmin backups
$ whoami
blahblah
$ id -Gn blahblah
blahblah root news cvs cvsadmin webadmin backups

--- 
Kevin R. Bulgrien
Product Engineer

General Dynamics C4 Systems                   http://www.tripointglobal.com/
VertexRSI
1915 Harrison Road                                    Tel: 903-295-1480 x288
Longview, TX 75604-5438                               Fax: 903-295-1479

CONFIDENTIAL/PROPRIETARY

Unless otherwise indicated, all information (and attachments) contained in
this e-mail communication are confidential and proprietary information owned
exclusively by the sender and/or it's related or affiliated companies and
shall not, without the prior written consent of the sender, be used,
disclosed, distributed, or reproduced, in whole or in part, by anyone other
than the individual or entity to whom this communication is addressed. 
All use of this data is exclusively restricted to the purpose expressly
indicated within this communication.

This e-mail communication is intended for the use of the individual or
entity to whom it is addressed.  If you are not the intended recipient of
this communication, you are hereby notified that any use, dissemination,
distribution, or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify us at once
at address@hidden so that we may take appropriate action,
and destroy any copies, electronic, paper, or otherwise, that you may have
of this communication.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]