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
It's not a bug, it's a feature.
I don't like it either, but POSIX demands it.
*** Bug 22451 has been marked as a duplicate of this bug. ***