Bug #1392

rm -rf on hammer

Added by luxh almost 5 years ago. Updated almost 5 years ago.

Status:ClosedStart date:
Priority:NormalDue 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

History

#1 Updated by steve almost 5 years ago

On Thu, 28 May 2009 18:59:41 +0200
Max Herrgaard <> 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.

#2 Updated by luxh almost 5 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

Also available in: Atom PDF