setrguide.blogg.se

Drupal logs
Drupal logs











drupal logs

If there are any existing files in this directory, be sure the web server has write perms on them. What that means is that The second 7 means that group (chmod 2775 sites/default/files The 2 means that the group id will be preserved for any new files created in this directory. We do this by using 2775 in our chmod command. Next we'll set up permissions so that the web server can always write to any file that is in this directory. # Temporarily give the web server write permissions to settings.phpĬhgrp www-data sites/default/settings.php su - exampleĬp sites/default/ sites/default/settings.php

drupal logs drupal logs

#Drupal logs install

Once I have that set up, I'll log in as that user and install Drupal at /var/Since we log in as our example user before copying in Drupal, our file ownership and permissions should automatically be properly configured on all the core Drupal files and scripts (including. # called www-data, on CentOS it's usually apache. Useradd -s /bin/bash -d /var/www/example -m example On Ubuntu, these are the commands to get that set up: # Create a new example user, setting up /var/www/example as their home dir. My practice around creating a new Drupal site on a server is to have a user that is a part of the web server (typically Apache) group, and have that user own all the Drupal files.













Drupal logs