KEMBAR78
Update the initramfs generation logic to set 755 permissions on /init by OneBlue · Pull Request #13567 · microsoft/WSL · GitHub
Skip to content

Conversation

@OneBlue
Copy link
Collaborator

@OneBlue OneBlue commented Oct 6, 2025

Summary of the Pull Request

This isn't usually an issue since /init is bind-mounted read-only, but it causes issues in systemd since it thinks that it's world writeable. There shouldn't be any downside for setting the permissions to 755

PR Checklist

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

@OneBlue OneBlue requested a review from a team as a code owner October 6, 2025 20:40
@OneBlue OneBlue requested review from benhillis, Copilot, craigloewen-msft and justus-camp-microsoft and removed request for Copilot October 6, 2025 20:40
@OneBlue OneBlue changed the title Update the initramfs to set 755 permissions on /init Update the initramfs generation logic to set 755 permissions on /init Oct 6, 2025
@OneBlue OneBlue merged commit 9f77522 into master Oct 7, 2025
6 checks passed
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