Bug 209041

Summary: Handling of -i -f is inconsistent
Product: [Fedora] Fedora Reporter: Horst H. von Brand <vonbrand>
Component: coreutilsAssignee: Tim Waugh <twaugh>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: rawhideCC: meyering
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-10-03 04:34:40 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Horst H. von Brand 2006-10-02 22:39:09 EDT
Description of problem:
"mv -i -f" overwrites the destination, no questions asked.
"cp -i -f" asks if it should overwrite.

The handling of -f is inconsistent in coreutils. Yes, this is documented this
way. But it is irritating anyway. Particularly with the aliases set up by Fedora
as default.

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

How reproducible:
Always

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
Comment 1 Tim Waugh 2006-10-03 04:34:40 EDT
The behaviour of these flags (and this difference between cp and mv) is
specified by POSIX.