Tim Abbott <[EMAIL PROTECTED]> wrote:
> Package: coreutils
> Version: 5.2.1-2
> Severity: normal
> Tags: patch
>
> When using OpenAFS PAGs, which store information as two fake gids, the
> groups program complains that it cannot find names for those ids, and
> causes groups to return an error.
>
> [EMAIL PROTECTED]:~$ groups
> users id: cannot find name for group ID 34182
> 34182 id: cannot find name for group ID 45415
> 45415 dialout cdrom floppy audio video fuse
>
> It seems that these error messages are useless since the information
> that it could not find names for those groups is already clear from
> them being displayed as numbers.  Furthermore, the error message is
> confusing, and the nonzero exit status is problematic for things like
> pscp from Windows.
>
> Below is a patch to id.c to remove this behaviour.

Sorry, but the current behavior should stay.  When a program like groups
(or the underlying id -Gn) fails to do something that you request,
it must exit nonzero to indicate the failure.

If numeric GIDs are enough for your application, then use "id -G" instead.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to