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
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: fileutils (Show other bugs)
8.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
Mike McLean
:
Depends On:
Blocks:
  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:
Environment:
Last Closed: 2003-02-07 15:58:32 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
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
option.

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

How reproducible:


Steps to Reproduce:
1. mkdirhier foor/bar/foo/bar
2. rm -i foo
3.
    
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.