Project

General

Profile

Actions

Bug #1392

closed

rm -rf on hammer

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

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

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

Actions #1

Updated by steve over 17 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.

Actions #2

Updated by luxh over 17 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

Actions

Also available in: Atom PDF