[Bug 25015] cp(1) options -i and -f do not work as documented
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 08 Aug 2025 22:53:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=25015 --- Comment #4 from Dag-Erling Smørgrav <des@FreeBSD.org> --- This is ancient, but still open, and I've been working on cp recently, so... Bug 1.1: When the destination is a dead link, POSIX expects cp to create the target of the link. And as Garrett points out, the -f option only applies “if a file descriptor for a destination file cannot be obtained”. Bug 1.2: Still broken in 15. It works without -R though. Bug 2: Still broken in 15. It works without -R though. -- You are receiving this mail because: You are the assignee for the bug.