Created
December 7, 2020 16:24
-
-
Save HallexCosta/d7c50344139e16447e3edee42624f809 to your computer and use it in GitHub Desktop.
Permissions on WSL (How to solve permission denied WSL 1)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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