Bug 19148
| Summary: | cp ignores -f and --force at cmdline | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Robin Green <greenrd> |
| Component: | fileutils | Assignee: | Bernhard Rosenkraenzer <bero> |
| Status: | CLOSED NOTABUG | QA Contact: | Aaron Brown <abrown> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 7.0 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i686 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2000-10-16 00:03:08 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Robin Green
2000-10-15 21:56:32 UTC
This is because by default cp is aliased to 'cp -i'. The behaviour of the GNU supplied fileutils has changed so tht cp -i -f still prompts. And it's not a bug - the fileutils changelog states that they had to do it because POSIX demands it. The 'fix' is to get rid of the "cp='cp -i'" alias in your ~/.bashrc. why rm -f works? |