]> git.ipfire.org Git - thirdparty/coreutils.git/commit
rm: with -I, prompt before deleting a write protected file
authorSergio Durigan Junior <sergiodj@sergiodj.net>
Wed, 25 Sep 2013 10:02:08 +0000 (11:02 +0100)
committerPádraig Brady <P@draigBrady.com>
Thu, 26 Sep 2013 10:25:05 +0000 (11:25 +0100)
commit5ee7d8f55bb0a48fd2cd5bc3c12b3db588d98beb
tree48ec7575d1262f4099818edf68b07233b5350f1f
parent3414301f5951c1805aa9185cce13f421f09042de
rm: with -I, prompt before deleting a write protected file

This regression was introduced in commit v6.7-71-g0928c24

* src/rm.c (main): Make the -I option behave like --interactive=once.
* tests/rm/interactive-once.sh: Add cases for single and multiple files.
* NEWS: Mention the bug fix.
Fixes http://bugs.gnu.org/9308
NEWS
src/rm.c
tests/rm/interactive-once.sh