[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#12339: Bug: rm -fr . doesn't dir depth first deletion yet it is docu
From: |
Linda Walsh |
Subject: |
bug#12339: Bug: rm -fr . doesn't dir depth first deletion yet it is documented to do so. |
Date: |
Fri, 07 Sep 2012 16:40:12 -0700 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.24) Gecko/20100228 Lightning/0.9 Thunderbird/2.0.0.24 Mnenhy/0.7.6.666 |
Eric Blake wrote:
The rm utility is forbidden to remove the names dot and dot-dot in order to
avoid the consequences of inadvertently doing something like:
rm −r .*
---
Which is why, IMO, I thought rm -r .* should ask if they really want to remove
all files under "." as the first question, as it would show up first in such
a situation.
As stated before, I am more interested in the "-f"=force it anyway option,
that says to let it fail, and continue, ignoring failure.
I think that may be where the problem has been introduced.
I never used rm - .
Certainly rm ** is easier to mistype than rm -r .* so by that logic, that
should be disallowed as well?
I submit it is the behavior of "-f" that has changed -- and that it
used to mean "force" -- continue in spite of errors, and it is
that behavior that has changed, as I would would always have expected
rm -r . to at least return some error I didn't care about -- What I
wanted was the depth-first removal, and -f to force it to continue despite
errors.
How long has -f NOT meant "--force" -- as now it only overlooks write
protection errors which sounds very weak.
- bug#12339: Bug: rm -fr . doesn't dir depth first deletion yet it, (continued)
- bug#12339: Bug: rm -fr . doesn't dir depth first deletion yet it, Eric Blake, 2012/09/07
- bug#12339: Bug: rm -fr . doesn't dir depth first deletion yet it, Linda Walsh, 2012/09/07
- bug#12339: Bug: rm -fr . doesn't dir depth first deletion yet it, Paul Eggert, 2012/09/07
- bug#12339: Bug: rm -fr . doesn't dir depth first deletion yet it, Linda Walsh, 2012/09/07
- bug#12339: Bug: rm -fr . doesn't dir depth first deletion yet it, Alan Curry, 2012/09/07
- bug#12339: Bug: rm -fr . doesn't dir depth first deletion yet it, Linda Walsh, 2012/09/08
- bug#12339: Bug: rm -fr . doesn't dir depth first deletion yet it, Alan Curry, 2012/09/08
- bug#12339: Bug: rm -fr . doesn't dir depth first deletion yet it, Linda Walsh, 2012/09/08
- bug#12339: Bug: rm -fr . doesn't dir depth first deletion yet it, Paul Eggert, 2012/09/08
- bug#12339: Bug: rm -fr . doesn't dir depth first deletion yet it is documented to do so., Eric Blake, 2012/09/07
- bug#12339: Bug: rm -fr . doesn't dir depth first deletion yet it is documented to do so.,
Linda Walsh <=
- bug#12339: Bug: rm -fr . doesn't dir depth first deletion yet it is documented to do so., Linda Walsh, 2012/09/07
- bug#12339: Bug: rm -fr . doesn't dir depth first deletion yet it is documented to do so., Eric Blake, 2012/09/07
- bug#12339: Bug: rm -fr . doesn't dir depth first deletion yet it is documented to do so., Linda Walsh, 2012/09/07
- bug#12339: Bug: rm -fr . doesn't dir depth first deletion yet it is documented to do so., Eric Blake, 2012/09/07
- bug#12339: Bug: rm -fr . doesn't dir depth first deletion yet it is documented to do so., Linda Walsh, 2012/09/07
- bug#12339: Bug: rm -fr . doesn't dir depth first deletion yet it is documented to do so., Eric Blake, 2012/09/07
- bug#12339: Bug: rm -fr . doesn't dir depth first deletion yet it is documented to do so., Linda Walsh, 2012/09/07
- bug#12339: Bug: rm -fr . doesn't dir depth first deletion yet it is documented to do so., Jim Meyering, 2012/09/08
- bug#12339: Bug: rm -fr . doesn't dir depth first deletion yet it is documented to do so., Jim Meyering, 2012/09/05
- bug#12339: Bug: rm -fr . doesn't dir depth first deletion yet it is documented to do so., Jim Meyering, 2012/09/05