Bug 83741 - rm command from fileutils-4.1.9-11 when used with -i option behaves a rm -ri
rm command from fileutils-4.1.9-11 when used with -i option behaves a rm -ri
Product: Red Hat Linux
Classification: Retired
Component: fileutils (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2003-02-07 14:50 EST by Vikram Goyal
Modified: 2007-04-18 12:50 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-02-07 15:58:32 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Vikram Goyal 2003-02-07 14:50:04 EST
Description of problem:
rm removes directories and its contents interactively when given -i

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. mkdirhier foor/bar/foo/bar
2. rm -i foo
Actual results:
removes directories and its contents interactively.

Expected results:
should refuse to unlink directories. rmdir is their for that. Or should
take -r flag to behave this way.

Additional info:
Comment 1 Tim Waugh 2003-02-07 15:58:32 EST
coreutils has the behaviour you want.

Note You need to log in before you can comment on or make changes to this bug.