Bug 83741

Summary: rm command from fileutils-4.1.9-11 when used with -i option behaves a rm -ri
Product: [Retired] Red Hat Linux Reporter: Vikram Goyal <viki>
Component: fileutilsAssignee: Tim Waugh <twaugh>
Status: CLOSED RAWHIDE QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0CC: mitr
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
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: --- Target Upstream Version:

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