Bug 17814 - -i flag in cp overrides -f
-i flag in cp overrides -f
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: fileutils (Show other bugs)
7.1
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bernhard Rosenkraenzer
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-09-24 15:13 EDT by Frank Sweetser
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-09-24 15:13:57 EDT
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 Frank Sweetser 2000-09-24 15:13:55 EDT
Previously, -f used to override the -i flag.  In cp, this is no longer the
case, while it appears to be so in rm.

> touch foo
> touch bar
> /bin/cp -i -f foo bar
/bin/cp: overwrite 'bar`? y
>/bin/rm -i -f bar
>
Comment 1 Bernhard Rosenkraenzer 2000-10-01 18:24:07 EDT
It's not a bug, it's a feature.
I don't like it either, but POSIX demands it.
Comment 2 Bernhard Rosenkraenzer 2000-12-18 10:52:01 EST
*** Bug 22451 has been marked as a duplicate of this bug. ***

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