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.
I often use qc in the following way:
drush qc dns apache database --domain=mydomain.dev
Everything works well, except for the fact that the directory created has ownership as drupalpro:drupalpro instead of drupalpro:www-data. I have to manualy chown it otherwise when pointing my browser to the newly created domain I get:
403 Forbidden. You don't have permission to access / on this server
When using qc with default settings, the folder gets created with proper permissions.
Comments
Comment #1
mike stewart CreditAttribution: mike stewart commentedhmm. I will test this... and find a fix.
Comment #2
mike stewart CreditAttribution: mike stewart commentedoops, wrong status
Comment #3
dehacker CreditAttribution: dehacker commentedBrowser is returning the same Forbidden error trying to install core D7 from a fresh vm and site install. Update script from project page was run prior. No other changes. After chown the root web dir to www-data come perm issues with ownership of settings.php and other file items for install tweaks.
Comment #4
mike stewart CreditAttribution: mike stewart commented@darkswan -- thanks for feedback. I am quite actively working on a new image -- working with Travis Carden to include the new drush updates he's been working on.
Comment #4.0
mike stewart CreditAttribution: mike stewart commentedUpdated issue summary.