[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: coreutils 5.2.1 bug: id -Gn
From: |
Bulgrien, Kevin |
Subject: |
RE: coreutils 5.2.1 bug: id -Gn |
Date: |
Mon, 11 Apr 2005 14:25:06 -0500 |
My broken mailer grunged the examples. I'll append ; to each
command so output is more distinguishable, and try again.
This may not be a source package bug. I observed this behavior
on a Mandrake 10.1 Official box (coreutils-5.2.1-4mdk.i586.rpm)
and tried also Mandrake Cooker (coreutils-5.2.1-5mdk.i586.rpm).
A Gentoo user I know reports that id -Gn ; (5.2.1) appears to
work as it should. I wonder what might cause the broken
behavior to occur?
> -----Original Message-----
> From: Bulgrien, Kevin
> Sent: Monday, April 11, 2005 1:30 PM
> To: 'address@hidden'
> Subject: coreutils 5.2.1 bug: id -Gn
>
>
> 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.
>