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

2007-02-11 Thread Stephen Gran
tags 410366 -wontfix
thanks
This one time, at band camp, Justin Pryzby said:
 On Sat, Feb 10, 2007 at 11:31:16AM +, Stephen Gran wrote:
  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.
  
 You left out an important part:
 
 /usr/sbin/adduser -h
 adduser --group [--gid ID] GROUP
 addgroup [--gid ID] GROUP
Add a user group
 
 So this is advertised as a supported syntax.  I don't mind and have no
 objection to using addgroup exclusively for this purpose, but then
 adduser must not advtise that it works.

Hmm.  All right, I'll review it in the next couple of days and either
remove the advertising of the option, or allow it to work.  Thanks for
the report.
-- 
 -
|   ,''`.Stephen Gran |
|  : :' :[EMAIL PROTECTED] |
|  `. `'Debian user, admin, and developer |
|`- http://www.debian.org |
 -


signature.asc
Description: Digital signature


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

2007-02-10 Thread Stephen Gran
severity 410366 wishlist
tags 410366 +wontfix
tags 410366 -patch
thanks
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 |
|  : :' :[EMAIL PROTECTED] |
|  `. `'Debian user, admin, and developer |
|`- http://www.debian.org |
 -


signature.asc
Description: Digital signature


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

2007-02-10 Thread Justin Pryzby
On Sat, Feb 10, 2007 at 11:31:16AM +, Stephen Gran wrote:
 severity 410366 wishlist
 tags 410366 +wontfix
 tags 410366 -patch
 thanks
 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.
You left out an important part:

/usr/sbin/adduser -h
adduser --group [--gid ID] GROUP
addgroup [--gid ID] GROUP
   Add a user group

So this is advertised as a supported syntax.  I don't mind and have no
objection to using addgroup exclusively for this purpose, but then
adduser must not advtise that it works.

Justin


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