Bug#410366: [Adduser-devel] Bug#410366: adduser: adduser --group --gid <GID> <GROUP> advertised but fails

Stephen Gran sgran at debian.org
Sat Feb 10 12:31:16 CET 2007

severity 410366 wishlist
tags 410366 +wontfix
tags 410366 -patch
This one time, at band camp, Justin Pryzby said:
> /usr/sbin/adduser --group --gid 12345 foo
> adduser: The --group, --ingroup, and --gid options are mutually exclusive.

This is intended behavior.  If you want to add a group, run addgroup.
Many programs behave differently based on ARGV[0], and this is just
another of them.

> Included is a patch which Fixes the Glitch in an intuitive way.  I've
> not analyzed the consequencses or implications, however.

Thank you for the report and the patch.  I have made this bug severity
wishlist for now.  I actually would prefer to close it, as I don't
believe it's a bug.  I am leaving it open for now, and if you convince
me that I'm wrong, we can look into it.

Take care,
|   ,''`.                                            Stephen Gran |
|  : :' :                                        sgran at debian.org |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20070210/ac26439d/attachment.pgp

More information about the Adduser-devel mailing list