Deleting list with leading spaces in name, deleted all lists

Bug #265357 reported by Bug Importer
2
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
         mylistnamehere private archives not found as
/home/mailman/archives/private/ mylistnamehere
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://sourceforge.net/tracker/index.php?func=detail&aid=217098&group_id=103&atid=100103]

Revision history for this message
Barry Warsaw (barry) wrote :

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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.