Bug 83741 - rm command from fileutils-4.1.9-11 when used with -i option behaves a rm -ri
Summary: rm command from fileutils-4.1.9-11 when used with -i option behaves a rm -ri
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: fileutils (Show other bugs)
(Show other bugs)
Version: 8.0
Hardware: i386 Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Mike McLean
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-02-07 19:50 UTC by Vikram Goyal
Modified: 2007-04-18 16:50 UTC (History)
1 user (show)

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


Attachments (Terms of Use)

Description Vikram Goyal 2003-02-07 19:50:04 UTC
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 20:58:32 UTC
coreutils has the behaviour you want.


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