Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Everytime provision-verify runs the ownership for local.settings.php is "aegir:aegir".
On my Ubuntu system I need "aegir:www-data".
I have to do the following every time provision-verify: "chown aegir:www-data local.settings.php"
If there is a work around like adding www-data to the aegir group (although that would not be very secure), please let me know.
Comments
Comment #1
omega8cc CreditAttribution: omega8cc commentedWe could add the code used in BOA to create and control ownership and permissions on
local.settings.php
, perhaps.create: https://github.com/omega8cc/provision/blob/2.4.x-dev/Provision/Config/Dr...
control: https://github.com/omega8cc/provision/blob/2.4.x-dev/Provision/Config/Dr...
Comment #2
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedthat looks promising
Comment #3
ergonlogicchown
'ing toaegir:www-data
andchmod
'ing to 640 (not 440) makes sense to me.I'm not sure that creating an empty
local.settings.php
by default helps much. I suppose it makes it a little more discoverable as an override mechanism. If we want to go that route, then I suggest a bit more documentation in the default explaining the behaviour that can be expected.