Skip to content

installers, tests: remove --preserve=mode from cp invocations (backport #13427)#13430

Merged
edolstra merged 1 commit into2.30-maintenancefrom
mergify/bp/2.30-maintenance/pr-13427
Jul 8, 2025
Merged

installers, tests: remove --preserve=mode from cp invocations (backport #13427)#13430
edolstra merged 1 commit into2.30-maintenancefrom
mergify/bp/2.30-maintenance/pr-13427

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Jul 8, 2025

-p preserves xattrs and acls which can be incompatible between filesystems

Note that --preserve=ownership can also be problematic on NFS because of the root-squashing mechanism.

Fixes #13426


This is an automatic backport of pull request #13427 done by Mergify.

-p preserves xattrs and acls which can be incompatible between
filesystems

Unfortunately keep -p on darwin because the bsd coreutils do not
support --preserve.

Fixes #13426

(cherry picked from commit 87299e4)
@mergify mergify bot added automatic backport This PR is a backport produced by automation (does not trigger backporting) merge-queue labels Jul 8, 2025
@mergify mergify bot requested a review from edolstra as a code owner July 8, 2025 15:11
@edolstra edolstra enabled auto-merge July 8, 2025 15:17
@edolstra edolstra merged commit 65b9e01 into 2.30-maintenance Jul 8, 2025
25 checks passed
@edolstra edolstra deleted the mergify/bp/2.30-maintenance/pr-13427 branch July 8, 2025 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automatic backport This PR is a backport produced by automation (does not trigger backporting) merge-queue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants