mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:30:53 +01:00
[PR #825] file_mode: restore write permission before probe removal (FILE-MODE-PROBE-CLEANUP) #864
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#864
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/825
Author: @trigger337
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:fix/file-mode-probe-cleanup📝 Commits (1)
5c8f023file_mode: restore write permission before probe removal (FILE-MODE-PROBE-CLEANUP)📊 Changes
2 files changed (+14 additions, -0 deletions)
View changed files
📝
tests/test_file_mode.py(+13 -0)📝
tools/file_mode.py(+1 -0)📄 Description
When probing directory file modes, resetting os.chmod to 0o600 before os.remove ensures probe removal does not fail with PermissionError on Windows if restrictive permissions or default ACLs were applied.
agent: yes
AI-assisted: yes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.