Skip to content

change: don't preserve permissions duing static copy - #15

Merged
0xB10C merged 1 commit into
masterfrom
2026-04-use-copy-insteadof-copy2
Apr 12, 2026
Merged

0xB10C merged 1 commit into
masterfrom
2026-04-use-copy-insteadof-copy2

Conversation

@0xB10C

@0xB10C 0xB10C commented Apr 12, 2026

Copy link
Copy Markdown
Owner

By default this would use copy2, and copy2 preserves file metadata (modification times, permissions), while copy only copies the content and basic permissions. We don't need to preserve the static file permissions.

This resolves a build failure in 0xB10C/nix#340

By default this would use copy2, and copy preserves file metadata
(modification times, permissions), while `copy` only copies the
content and basic permissions. We don't need to preserve the static
permissions.
@0xB10C
0xB10C merged commit e9e8844 into master Apr 12, 2026
3 checks passed
@0xB10C
0xB10C deleted the 2026-04-use-copy-insteadof-copy2 branch April 12, 2026 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant