Defender says unable to install .htaccess but it did, unable to continue

Last couple of site I've tried to install on I get shut down by these same errors you can see in screenshots. Maybe I'm doing something wrong?