Skip to content

Instantly share code, notes, and snippets.

@firejox
Created April 15, 2024 11:55
Show Gist options
  • Save firejox/05351b0ccf489a97d1e6e5335ab950af to your computer and use it in GitHub Desktop.
Save firejox/05351b0ccf489a97d1e6e5335ab950af to your computer and use it in GitHub Desktop.
WSL-Interop Access Control
[Unit]
Description=WSL-Interop Access Control
[Path]
PathChanged=/run/WSL
[Install]
WantedBy=multi-user.target
[Unit]
Description=WSL-Interop Access Control
[Service]
Type=oneshot
ExecStart=/usr/bin/find /run/WSL -perm /o+rw -type s -exec chmod o= {} +
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment