Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use cache dir for temporary files #2067

Merged
merged 1 commit into from
May 21, 2024
Merged

Use cache dir for temporary files #2067

merged 1 commit into from
May 21, 2024

Conversation

casey
Copy link
Owner

@casey casey commented May 20, 2024

No description provided.

@casey casey enabled auto-merge (squash) May 20, 2024 23:53
@casey casey force-pushed the tmp-in-xdg-cache-home branch 2 times, most recently from 884f847 to 76ae03f Compare May 20, 2024 23:59
@casey casey disabled auto-merge May 21, 2024 00:00
@casey casey enabled auto-merge (squash) May 21, 2024 00:00
@casey casey disabled auto-merge May 21, 2024 00:01
Sometimes `/tmp` is mounted with the `noexec` option, which results
causes running shebang recipes to fail.

Instead of `/tmp`, use the cache directory as provided by the
[dirs crate](https://docs.rs/dirs/latest/src/dirs/lib.rs.html#77).
@casey casey enabled auto-merge (squash) May 21, 2024 00:02
@casey casey merged commit d3492e6 into master May 21, 2024
5 checks passed
@casey casey deleted the tmp-in-xdg-cache-home branch May 21, 2024 00:04
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