Red Hat Bugzilla – Bug 65528
cp -f option is not work.
Last modified: 2007-04-18 12:42:46 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):
Steps to Reproduce:
1.I have no idea.
You are almost certainly aliasing cp to cp -i somewhere in your startup files
-f doesn't and isn't supposed to override -i anymore (POSIX compliance).