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.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

Comments

alexpott created an issue.