Skip to content

Conversation

@sunfishcode
Copy link
Member

When creating anonymous temporary files, use mode 0o000 instead of 0o666 to further discourage anything else from opening them.

This fixes a bug pointed out in #390.

When creating anonymous temporary files, use mode 0o000 instead of 0o666
to further discourage anything else from opening them.

This fixes a bug pointed out in #390.
@sunfishcode sunfishcode force-pushed the sunfishcode/cap-tempfile-perms branch from f62fe79 to 8aed312 Compare December 11, 2025 01:59
@sunfishcode sunfishcode force-pushed the sunfishcode/cap-tempfile-perms branch from 6542209 to cc6ac30 Compare December 11, 2025 02:14
@sunfishcode sunfishcode merged commit 1e145e5 into main Dec 11, 2025
13 of 14 checks passed
@sunfishcode sunfishcode deleted the sunfishcode/cap-tempfile-perms branch December 11, 2025 04:30
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.

2 participants