Skip to content

Instantly share code, notes, and snippets.

@HallexCosta
Created December 7, 2020 16:24
Show Gist options
  • Save HallexCosta/d7c50344139e16447e3edee42624f809 to your computer and use it in GitHub Desktop.
Save HallexCosta/d7c50344139e16447e3edee42624f809 to your computer and use it in GitHub Desktop.
Permissions on WSL (How to solve permission denied WSL 1)
o fix you can use a find find all files with permission 0 and set it to rw-r--r--
find -perm 0 -type f -exec chmod 644 {} \;
find all directories with permission 0 and set it to rwxr-xr-x
find -perm 0 -type d -exec chmod 755 {} \;
Referência:
https://askubuntu.com/questions/1024161/permissions-on-wsl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment