Skip to content

Harden self-update extraction temp handling#706

Merged
ryanfowler merged 1 commit into
mainfrom
update-extraction-dir
Jun 3, 2026
Merged

Harden self-update extraction temp handling#706
ryanfowler merged 1 commit into
mainfrom
update-extraction-dir

Conversation

@ryanfowler

Copy link
Copy Markdown
Owner

Summary

  • Create a private, drop-cleaned temp directory for self-update extraction
  • Mask tar permission bits before applying extracted file modes
  • Add unit coverage for temp cleanup, Unix directory permissions, and tar mode masking

Testing

  • cargo fmt
  • cargo clippy --locked --all-targets --all-features -- -D warnings
  • cargo test --all-features
  • cargo test --all-features --test cli --test formatting --test grpc --test http --test network --test terminal --test update --test websocket -- --test-threads=1

@ryanfowler ryanfowler merged commit 956bd87 into main Jun 3, 2026
4 checks passed
@ryanfowler ryanfowler deleted the update-extraction-dir branch June 3, 2026 10:42
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