I have my default site folder in a different location (another drive).
When I install a new site, the file permissions are incorrect and I cannot access any of the files.
I need to run the following commands from the site root folder to fix.
This is an in elevated Windows PowerShell.
takeown /f . /r /d Y ICACLS * /T /Q /C /RESET