Bug #1392
rm -rf on hammer
| Status: | Closed | Start date: | ||
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | - |
Description
Hi.
I found this with rm(1) and the -f flag on master with a hammer file
system:
> mkdir foo
> rm -rf foo
recursively remove foo?
I don't know if it has something to do with how hammer handles
directories?
Max
Related todos
History
Updated by steve almost 4 years ago
On Thu, 28 May 2009 18:59:41 +0200
Max Herrgaard <herrgaard@gmail.com> wrote:
> Hi.
>
> I found this with rm(1) and the -f flag on master with a hammer file
> system:
>
> > mkdir foo
> > rm -rf foo
> recursively remove foo?
>
> I don't know if it has something to do with how hammer handles
> directories?
Nope it has to do with rm being aliased to 'rm -I' by default.
Updated by luxh almost 4 years ago
>
>> Hi.
>>
>> I found this with rm(1) and the -f flag on master with a hammer file
>> system:
>>
>>> mkdir foo
>>> rm -rf foo
>> recursively remove foo?
>>
>> I don't know if it has something to do with how hammer handles
>> directories?
>
> Nope it has to do with rm being aliased to 'rm -I' by default.
Aha, thanks. Didn't think this "bug" was that simple to solve. I'll
remove it straight away, becase I want -f to mean "just shut up and
remove it" :-)
Max