I built a Drupal 8.6.4 website in Acquia Dev Desktop, but I moved it to a local Docker / Docksal configuration to continue working (I have not used it before) – on a mac, if it is important. Everything seems fine, but for two reasons. The first is a series of security warnings in the htaccess registers, which say that you add a htaccess containing a specific code to the directory "/ var / www / config / default", but I do not have this directory of files. It's a Docksal configuration: just ~ / projects / projectname / docroot setup on my computer.
The second problem, which I suspect may be related, is that I can not Drush archive-backup –destination = x / x / x .. It always tells me that file permission prevents it, even if I read / write full permission in the binder. But I can do it without the destination aggregate. It simply puts it in a temporary folder.
Here is the error that I see: more is generated every time I load an administration page.
Security warning: The .htaccess file could not be written. Create a .htaccess file in your / var / www / config / default directory that contains the following lines: # Deny all Apache 2.4+ requests.
Require everything denied# Deny all Apache 2.0-2.2 requests. Deny everything# Turn off all the options we do not need. Options -Indexes -ExecCGI -Includes -MultiViews # Configure the catch-all driver to prevent the scripts from running. SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006 # Replace the driver again if we run later in the evaluation list. SetHandler Drupal_Security_Do_Not_Remove_See_SA_2013_003# If we know how to do it safely, disable the PHP engine completely. php_flag engine off