- Issue created by @dpierre
What are the permissions of the parent directories and of the file? The user account executing the composer command doesn't have permissions to remove or to alter that file. This happens because Drupal "hardens" security on those key files.
- 🇫🇷France dpierre
Thanks for your answer.
parent directory "default" permission is 555
file "default.services.yml" permission is 644I am not worried about this error/warning. But it always raises questions when such an event occurs.
What is your advice ?
Should I manually remove the "default.services.yml" file ?
Should I keep things as they are ?At Drupal first installation, the "settings.php" file is created in the ""default" directory (permission 555). As far as I understand, in that case, the installation program modifies the permission in order to create it. Am I wrong ? Could it be the same for deleting the "default.services.yml" file ?
Once again, thanks for your answers and advices. In the past months, it helped me moving forward with Drupal 11.
This 🐛 Composer scaffolding fails when permissions on default.settings.yml or default.settings.php is not writable. Needs work . Every important idea is there, mostly in recent comments.