Skip to content

Share the exception-using chmod wrapper with more code#15075

Merged
Ericson2314 merged 1 commit intomasterfrom
chmod-wrapper
Jan 24, 2026
Merged

Share the exception-using chmod wrapper with more code#15075
Ericson2314 merged 1 commit intomasterfrom
chmod-wrapper

Conversation

@Ericson2314
Copy link
Member

Motivation

Context


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

@Ericson2314 Ericson2314 requested a review from edolstra as a code owner January 24, 2026 21:33
@github-actions github-actions bot added the store Issues and pull requests concerning the Nix store label Jan 24, 2026
@Ericson2314 Ericson2314 force-pushed the chmod-wrapper branch 3 times, most recently from 0682a10 to 4ca9066 Compare January 24, 2026 22:01
It is not just useful to `DerivationBuilder`.
chmod(topTmpDir.c_str(), 0755);
chmod(tmpDir.c_str(), 0755);
chmod(topTmpDir, 0755);
chmod(tmpDir, 0755);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This wasn't error checking before, but it was not justified why this was the case. Assuming this was an oversight.

@Ericson2314 Ericson2314 added this pull request to the merge queue Jan 24, 2026
Merged via the queue into master with commit a3f2d2b Jan 24, 2026
18 checks passed
@Ericson2314 Ericson2314 deleted the chmod-wrapper branch January 24, 2026 23:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

store Issues and pull requests concerning the Nix store

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants