Bug 65528 - cp -f option is not work.
cp -f option is not work.
Product: Red Hat Linux
Classification: Retired
Component: fileutils (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: wdovlrrw
Aaron Brown
Depends On:
  Show dependency treegraph
Reported: 2002-05-26 21:27 EDT by antihong
Modified: 2007-04-18 12:42 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-05-28 07:13:11 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description antihong 2002-05-26 21:27:53 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Q312461)

Description of problem:
When I use -f option included at cp,
the -f option is not work.  

# cp -f test_file test_dir/
cp: overwrite `test_dir/test_file'? y

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

How reproducible:
Couldn't Reproduce

Steps to Reproduce:
1.I have no idea.

Additional info:
Comment 1 Bernhard Rosenkraenzer 2002-05-28 07:22:13 EDT
You are almost certainly aliasing cp to cp -i somewhere in your startup files 
(~/.bashrc, probably). 
-f doesn't and isn't supposed to override -i anymore (POSIX compliance). 

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