Bash File/Folder Permission Issue on Windows 10
Solution 1:
Workaround is add
umask 022
to .bashrc
or similar.
Solution 2:
See https://github.com/Microsoft/BashOnWindows/issues/81#issuecomment-207553514
The short version (assuming I'm interpreting it correctly) is 0777 is applied to everything under the mnt; however, anything in ~ is fair game. The file or directory needs to stay there though or it will revert back to 0777 when you move it into mnt.
Here is what I did to get the permissions to stick, but I'm not sure how to make it default to a specific permissions upon creation.
cd ~
cd ..
mv mnt/c/mydir/myfile.ext
chmod 755 myfile.ext
By the way, be sure you run WSL as administrator.