Deleting list with leading spaces in name, deleted all lists
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Mailman |
Fix Released
|
High
|
Barry Warsaw |
Bug Description
Using Mailman 2.0beta5, a list was created in error with several
leading spaces in the name. I think the admin was cutting and pasting
the information. The admin then created the list with the correct name,
but couldn't figure out how to delete the problematic one. I tried
deleting it with rmlist by padding it with spaces before the name, but
that deleted the corrected list instead. I then tried this:
# ./rmlist -a ' mylistnamehere'
This generated the message:
Removing list info
/home/mailman/
Removing private archives
Removing public archives
Removing public archives
This deleted all lists as well as their archives since -a was used with
rmlist.
[http://
Fixed in bin/rmlist version 1.17 by exiting with error code 1 and printing
the usage text when the list given on the command line does not exist.