Commits
Click on a commit to change the comparison rangecp: fix -p to not preserve xattrs by default
Fixes #9704
The -p flag should only preserve mode, ownership, and timestamps,
matching GNU cp behavior. Extended attributes require explicit
--preserve=xattr or -a (archive mode).
Changed Attributes::DEFAULT to set xattr preservation to No,
preventing unintended security risks and filesystem compatibility
issues.
Adds regression test.30 days ago
by AnarchistHoneybun Merge branch 'main' into bug/cp-preserve-xattr-970430 days ago
by AnarchistHoneybun Merge branch 'main' into bug/cp-preserve-xattr-970430 days ago
by AnarchistHoneybun Merge branch 'main' into bug/cp-preserve-xattr-970429 days ago
by AnarchistHoneybun Merge branch 'main' into bug/cp-preserve-xattr-970429 days ago
by AnarchistHoneybun Merge branch 'main' into bug/cp-preserve-xattr-970428 days ago
by AnarchistHoneybun Merge branch 'main' into bug/cp-preserve-xattr-970428 days ago
by AnarchistHoneybun cp: preserve ACL xattrs with -p while excluding others
implement granular xattr handling to preserve ACLs with -p but not general xattrs28 days ago
by AnarchistHoneybun Merge branch 'main' into bug/cp-preserve-xattr-970428 days ago
by AnarchistHoneybun Merge branch 'main' into bug/cp-preserve-xattr-970426 days ago
by AnarchistHoneybun tests: use at_and_ucmd macro and remove redundant cfg guards26 days ago
by AnarchistHoneybun Merge branch 'main' into bug/cp-preserve-xattr-970413 days ago
by AnarchistHoneybun