Skip to content

rpf9_names: restore write mode before unlink on replace failure (RPF9-NAMES-STAGE-CLEANUP) - #809

Closed
trigger337 wants to merge 1 commit into
ProjectLeonida:mainfrom
trigger337:fix/rpf9-names-stage-cleanup
Closed

trigger337 wants to merge 1 commit into
ProjectLeonida:mainfrom
trigger337:fix/rpf9-names-stage-cleanup

Conversation

@trigger337

Copy link
Copy Markdown
Contributor

When publishing report JSON, if os.replace fails (for instance due to permission errors), resetting os.chmod to 0o600 ensures TemporaryDirectory cleanup does not fail on Windows with PermissionError.

agent: yes
AI-assisted: yes

…-NAMES-STAGE-CLEANUP)

When publishing report JSON, if os.replace fails (for instance due to
permission errors), resetting os.chmod to 0o600 ensures TemporaryDirectory
cleanup does not fail on Windows with PermissionError.

agent: yes
AI-assisted: yes
@aslan2142

Copy link
Copy Markdown
Collaborator

Thanks for picking this up. We're closing this in favour of #794, which fixes the same item:

AI-assisted (Claude Code, Claude Opus 5.5).

@aslan2142 aslan2142 closed this Nov 24, 2026
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