HomeFreeBSD

cp: Make -P work without -R as per POSIX

Description

cp: Make -P work without -R as per POSIX

According to POSIX, cp should allow the -P flag to work whether -R
is specified or not. Currently, the -P option only works along with
-R.

PR: 199466
Reviewed by: kevans

(cherry picked from commit 97e13037915c22162f199461f56951793d669f57)

Details

Provenance
me_cameronkatri.comAuthored on Feb 23 2022, 6:55 PM
kevansCommitted on Apr 25 2022, 12:02 AM
Parents
rG1d9f60b05128: cp: fix -R with links
Branches
Unknown
Tags
Unknown