This worked well for me!
Be sure to change directory out of the drive you want to unmount first!
Just to keep it all together here is what you need to do -
sudo nano /etc/wsl.conf
Paste this into the open file -
Then paste and enter these one at a time into Terminal -
sudo rm /...
Turns out it WAS a file encoding issue. It was UTF BOM (?), and had a weird hidden character right at the beginning of the file. I was able to open the file up in Notepad++ (Thanks Brad) and was able to convert the file to "normal" UTF8.
Alec Ritson's comment solved the problem. His advice was to try
In other words, I had to add index.php to the URL (after public but before admin) and then everything worked fine.
All fixed. The solution was to add these mount options to /etc/wsl.conf to allow metadata support. Also had to rename (or delete) /storage/cpresources and clear cache.
From Microsoft on permissions in WSL:
In more testing, I was able to eliminate the "Can't bind to LDAP server!" error message from Craft by removing both: Account Suffix and Admin Account Suffix settings from the ADLDAP parameter control panel.
In my particular setup, I left all parameters empty in the 'optional' section of the parameter control panel, with the exception of the port ('389') and '...