From 637957db1bf6dfc030afc61dc9241d99234638be Mon Sep 17 00:00:00 2001 From: Francois Marier Date: Thu, 24 Feb 2011 18:04:31 +1300 Subject: [PATCH] Bugs migrated to Launchpad https://bugs.launchpad.net/safe-rm --- .cil | 13 ------------- issues/README.txt | 3 --- issues/a_fb33c51a.cil | 23 ----------------------- issues/c_0e4ab58b.cil | 7 ------- issues/c_174a2b10.cil | 6 ------ issues/i_18fea1af.cil | 11 ----------- issues/i_50b58759.cil | 9 --------- issues/i_594f1a26.cil | 21 --------------------- issues/i_7e30a60c.cil | 16 ---------------- issues/i_7ec7f2eb.cil | 12 ------------ issues/i_8cbe718f.cil | 14 -------------- issues/i_9b25b589.cil | 15 --------------- issues/i_ba36a817.cil | 17 ----------------- issues/i_cdba855f.cil | 14 -------------- 14 files changed, 181 deletions(-) delete mode 100644 .cil delete mode 100644 issues/README.txt delete mode 100644 issues/a_fb33c51a.cil delete mode 100644 issues/c_0e4ab58b.cil delete mode 100644 issues/c_174a2b10.cil delete mode 100644 issues/i_18fea1af.cil delete mode 100644 issues/i_50b58759.cil delete mode 100644 issues/i_594f1a26.cil delete mode 100644 issues/i_7e30a60c.cil delete mode 100644 issues/i_7ec7f2eb.cil delete mode 100644 issues/i_8cbe718f.cil delete mode 100644 issues/i_9b25b589.cil delete mode 100644 issues/i_ba36a817.cil delete mode 100644 issues/i_cdba855f.cil diff --git a/.cil b/.cil deleted file mode 100644 index 12cd395..0000000 --- a/.cil +++ /dev/null @@ -1,13 +0,0 @@ -VCS: Git -StatusStrict: 1 -StatusAllowedList: New -StatusAllowedList: InProgress -StatusAllowedList: Finished -StatusAllowedList: Wontfix -StatusOpenList: New -StatusOpenList: InProgress -StatusClosedList: Finished -StatusClosedList: Wontfix -LabelStrict: 1 -LabelAllowedList: enhancement -LabelAllowedList: bug diff --git a/issues/README.txt b/issues/README.txt deleted file mode 100644 index 302b745..0000000 --- a/issues/README.txt +++ /dev/null @@ -1,3 +0,0 @@ -This directory is used by CIL to track issues and feature requests. - -The home page for CIL is at http://kapiti.geek.nz/software/cil.html diff --git a/issues/a_fb33c51a.cil b/issues/a_fb33c51a.cil deleted file mode 100644 index 0137615..0000000 --- a/issues/a_fb33c51a.cil +++ /dev/null @@ -1,23 +0,0 @@ -Issue: 9b25b589 -Filename: safe-rm.diff.patch -Size: 842 -CreatedBy: Yi-Feng Tzeng -Inserted: 2008-09-09T01:42:42 -Updated: 2008-09-09T01:42:42 - -LS0tIHNhZmUtcm0JMjAwOC0wNi0wOSAwNTo1OToyOC4wMDAwMDAwMDAgKzA4MDAKKysrIHNhZmUt -cm0ubmV3CTIwMDgtMDktMDggMjI6MTI6MTEuMDI5OTY0NTMzICswODAwCkBAIC0xMjksMTcgKzEy -OSwxMSBAQAogZm9yIChteSAkaSA9IDA7ICRpIDw9ICQjQVJHVjsgJGkrKykgewogICAgIG15ICRw -YXRobmFtZSA9ICRBUkdWWyRpXTsKIAotICAgICMgTm9ybWFsaXplIHRoZSBwYXRobmFtZQotICAg -IG15ICRub3JtYWxpemVkX3BhdGhuYW1lID0gJHBhdGhuYW1lOwotICAgIGlmICgkbm9ybWFsaXpl -ZF9wYXRobmFtZSA9fiBtfC98KSB7Ci0gICAgICAgICMgQ29udmVydCB0byBhbiBhYnNvbHV0ZSBw -YXRoIChlLmcuIHJlbW92ZSAiLi4iKQotICAgICAgICAkbm9ybWFsaXplZF9wYXRobmFtZSA9IHJl -YWxwYXRoKCRub3JtYWxpemVkX3BhdGhuYW1lKTsKLSAgICAgICAgJG5vcm1hbGl6ZWRfcGF0aG5h -bWUgPSAkcGF0aG5hbWUgdW5sZXNzICRub3JtYWxpemVkX3BhdGhuYW1lOwotICAgIH0KLSAgICBp -ZiAoJG5vcm1hbGl6ZWRfcGF0aG5hbWUgPX4gbXxeKC4qPykvKyR8KSB7CisgICAgaWYgKCRwYXRo -bmFtZSA9fiBtfF4oLio/KS8rJHwpIHsKICAgICAgICAgIyBUcmltIHRyYWlsaW5nIHNsYXNoZXMK -LSAgICAgICAgJG5vcm1hbGl6ZWRfcGF0aG5hbWUgPSAkMTsKKyAgICAgICAgJHBhdGhuYW1lID0g -JDE7CiAgICAgfQorICAgIG15ICRub3JtYWxpemVkX3BhdGhuYW1lID0gcmVhbHBhdGgoJHBhdGhu -YW1lKTsKIAogICAgICMgQ2hlY2sgYWdhaW5zdCB0aGUgYmxhY2tsaXN0CiAgICAgaWYgKGV4aXN0 -cygkcHJvdGVjdGVkX2RpcnN7JG5vcm1hbGl6ZWRfcGF0aG5hbWV9KSkgewo= - diff --git a/issues/c_0e4ab58b.cil b/issues/c_0e4ab58b.cil deleted file mode 100644 index 8b0f27b..0000000 --- a/issues/c_0e4ab58b.cil +++ /dev/null @@ -1,7 +0,0 @@ -Issue: 18fea1af -CreatedBy: Francois Marier -Inserted: 2009-03-27T05:50:37 -Updated: 2009-03-27T05:51:06 - -It's a good idea, but at the same time, because can simply alias that command at -system level. diff --git a/issues/c_174a2b10.cil b/issues/c_174a2b10.cil deleted file mode 100644 index ab762b6..0000000 --- a/issues/c_174a2b10.cil +++ /dev/null @@ -1,6 +0,0 @@ -Issue: 50b58759 -CreatedBy: Francois Marier -Inserted: 2009-03-27T05:21:41 -Updated: 2009-03-27T05:21:55 - -Actually, I think that globs are more useful. diff --git a/issues/i_18fea1af.cil b/issues/i_18fea1af.cil deleted file mode 100644 index 40a7a79..0000000 --- a/issues/i_18fea1af.cil +++ /dev/null @@ -1,11 +0,0 @@ -Summary: rename the binary to srm -Status: Wontfix -CreatedBy: Francois Marier -AssignedTo: Francois Marier -Label: enhancement -Comment: 0e4ab58b -Inserted: 2008-07-01T03:11:09 -Updated: 2009-03-27T05:51:06 - -People who want to use safe-rm directly (and not divert the real rm -command) won't want to type the full command-name. diff --git a/issues/i_50b58759.cil b/issues/i_50b58759.cil deleted file mode 100644 index 9a01af1..0000000 --- a/issues/i_50b58759.cil +++ /dev/null @@ -1,9 +0,0 @@ -Summary: Support for regular expressions in the list of protected paths -Status: Finished -CreatedBy: Miriam Ruiz -AssignedTo: Francois Marier -Comment: 174a2b10 -Inserted: 2008-11-01T07:12:37 -Updated: 2009-03-27T05:24:14 - -Are regexp expressions allowed in the configuration file containing the list of protected files and directories? diff --git a/issues/i_594f1a26.cil b/issues/i_594f1a26.cil deleted file mode 100644 index a132aa0..0000000 --- a/issues/i_594f1a26.cil +++ /dev/null @@ -1,21 +0,0 @@ -Summary: supplement the -I argument -Status: New -CreatedBy: Francois Marier -AssignedTo: Francois Marier -Label: enhancement -Inserted: 2008-07-01T03:16:42 -Updated: 2008-07-01T03:16:42 - -Debian bug: 488121 - -Mert Dirik suggests the following: - -"rm has a -I (or --interactive=once) option for who want to approve the whole -action, not the every action rm will did. But rm's confirmation message is not -so informative and this can lead to bad situations. For ex. - -$ rm -I *~ -/bin/rm.real: remove all arguments?" - -This would involve parsing the command line options differently from the paths -and then detecting the -I option to do something differently. diff --git a/issues/i_7e30a60c.cil b/issues/i_7e30a60c.cil deleted file mode 100644 index 4b38921..0000000 --- a/issues/i_7e30a60c.cil +++ /dev/null @@ -1,16 +0,0 @@ -Summary: Prevent rm dir/foo* -Status: New -CreatedBy: Martyn Smith -AssignedTo: Francois Marier -Label: enhancement -Inserted: 2009-03-27T05:10:07 -Updated: 2009-03-27T05:22:51 - -When parsing the arguments, take a glob '*' to list all of the files in the current -directory then compare this to the arguments to rm. - -If all of the files in the current directory were specified AND there was at least -one other path in the arguments to rm then it's clear that the user mistyped -"rm -rf dir/foo*" as "rm-rf dir/foo *". - -In that case, bail. diff --git a/issues/i_7ec7f2eb.cil b/issues/i_7ec7f2eb.cil deleted file mode 100644 index 6a60e52..0000000 --- a/issues/i_7ec7f2eb.cil +++ /dev/null @@ -1,12 +0,0 @@ -Summary: add apt-get hooks to disable checking -Status: New -CreatedBy: Francois Marier -AssignedTo: Francois Marier -Label: enhancement -Inserted: 2008-07-01T03:04:45 -Updated: 2008-07-01T03:04:45 - -Some people would like to permit package postinst and postrm to delete -the protected paths if they want to. - -I guess this would involve removing and adding back the diversion. diff --git a/issues/i_8cbe718f.cil b/issues/i_8cbe718f.cil deleted file mode 100644 index 1d2744d..0000000 --- a/issues/i_8cbe718f.cil +++ /dev/null @@ -1,14 +0,0 @@ -Summary: No protection for the root directory (/) -Status: Finished -CreatedBy: Mubeen Jukaku -AssignedTo: Francois Marier -Inserted: 2008-10-31T00:32:20 -Updated: 2008-10-31T00:33:36 - -I added '/' to the blacklisted file/folder list. I tried to remove '/' by -doing "rm /". -safe-rm is not preventing the removal of / directory. -*It says:* -/bin/rm: cannot remove `/': Is a directory -*Instead of:* -skipping / diff --git a/issues/i_9b25b589.cil b/issues/i_9b25b589.cil deleted file mode 100644 index 409821f..0000000 --- a/issues/i_9b25b589.cil +++ /dev/null @@ -1,15 +0,0 @@ -Summary: Files in local directory are not protected -Status: Finished -CreatedBy: Yi-Feng Tzeng -AssignedTo: Francois Marier -Label: bug -Attachment: fb33c51a -Inserted: 2008-09-09T01:34:58 -Updated: 2008-09-09T01:42:42 - -I found if I add '/home/bob' to config file (/etc/safe-rm.conf). -It does not work, when - -cd /home ; rm -rf bob - -/home/bob still removed. diff --git a/issues/i_ba36a817.cil b/issues/i_ba36a817.cil deleted file mode 100644 index 2b099c7..0000000 --- a/issues/i_ba36a817.cil +++ /dev/null @@ -1,17 +0,0 @@ -Summary: Make the diversion optional (debconf) -Status: New -CreatedBy: Francois Marier -AssignedTo: Francois Marier -Label: enhancement -Inserted: 2008-07-01T03:07:07 -Updated: 2008-07-01T03:07:07 - -Some people want to make the package opt-in either by: -- training themselves to use the safe-rm (or srm) command -- aliasing rm to "safe-rm" in bash - -They would therefore want to avoid the diversion. So it could -be made optional using a debconf question. - -However, the default NEEDS to be opt-out since that's the -whole point of the package. diff --git a/issues/i_cdba855f.cil b/issues/i_cdba855f.cil deleted file mode 100644 index 2a268c5..0000000 --- a/issues/i_cdba855f.cil +++ /dev/null @@ -1,14 +0,0 @@ -Summary: Recursive deletes might delete protected files -Status: New -CreatedBy: Martyn Smith -AssignedTo: Francois Marier -Inserted: 2009-03-27T05:40:40 -Updated: 2009-03-27T05:42:29 - -If you put this in your config file: - - /usr/bin/gedit - -it will not protect gedit from this deletion: - - rm -rf /usr/bin -- 2.11.4.GIT