Problem/Motivation
\Drupal\Composer\Plugin\Scaffold\Operations\ReplaceOp::process deletes the file and recreates it. This is good when it is changing to or from a link but can result in unnecessary changes in ownership or permissions of the containing directory. Fix once #3091285: Composer scaffolding fails when permissions on default.settings.yml or default.settings.php is not writable. lands.
Comments