From: Silvio Rhatto Date: Tue, 27 Sep 2011 22:23:09 +0000 (-0300) Subject: Fixing files permission X-Git-Tag: 0.1~263 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=8c734ae12e240f4b0fa3c5243722b383e907c74a;p=hydra.git Fixing files permission --- diff --git a/share/hydractl/backup-restore-site b/share/hydractl/backup-restore-site index a737866..dddc3c0 100755 --- a/share/hydractl/backup-restore-site +++ b/share/hydractl/backup-restore-site @@ -67,6 +67,7 @@ fi if [ -e "$FOLDER/drupal" ]; then SERIES="$3" + chown -R $SITE.$SITE $FOLDER/drupal/files chown root.$SITE $FOLDER/drupal/settings.php chmod 640 $FOLDER/drupal/settings.php