Skip to content

fix: remove read-only files with fs.rmSync on Windows - #54188

Closed
trop[bot] wants to merge 1 commit into
42-x-yfrom
trop/42-x-y-bp-fix-remove-read-only-files-with-fs-rmsync-on-windows-1790021748544
Closed

trop[bot] wants to merge 1 commit into
42-x-yfrom
trop/42-x-y-bp-fix-remove-read-only-files-with-fs-rmsync-on-windows-1790021748544

Conversation

@trop

@trop trop Bot commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

Backport of #54180

See that PR for details.

Notes: Fixed fs.rmSync failing to remove read-only files on Windows.

Electron's libc++ builds fail with EPERM for read-only files on Windows.
Backport nodejs/node@2987a5965f1f to clear the attribute and retry removal.

Fixes #52253.

Assisted-By: GitHub Copilot

Co-authored-by: Charles Kerr <[email protected]>
@trop
trop Bot requested a review from a team as a code owner September 21, 2026 20:16
@trop
trop Bot requested a review from ckerr September 21, 2026 20:16
@trop trop Bot added 42-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes labels Sep 21, 2026
@MarshallOfSound

Copy link
Copy Markdown
Member

Superseded by #54257 (same backport with the patch refreshed for 42-x-y).

@trop
trop Bot deleted the trop/42-x-y-bp-fix-remove-read-only-files-with-fs-rmsync-on-windows-1790021748544 branch September 23, 2026 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

42-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant