After the most recent update Win10 update (1803) IIS started reporting error "404 Not Found" for folders created in WSL Bash (Windows Subsystem for Linux).
Folder security settings (in Windows Explorer) look fine. I've even tried doing a "Replace all child object permissions" on the folder, but it didn't help.
The folder is stored on the Windows partition and is accessed in WLS as /mnt/c/inetpub/wwwroot/
.
IIS App pool is running under AppPoolIdentity
(changing it to my user didn't help).
Does anyone know what's going on? How can this be fixed?
P.S. I'm using a bash script to build my website.
Edit
After turning on the "Directory browsing" I've discovered that IIS does list the files contained within the directory. This means that it can access it. However for some reason it can't serve them (the files).