]> gitweb.fluxo.info Git - hydra.git/commitdiff
Fixing files permission
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 27 Sep 2011 22:23:09 +0000 (19:23 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 27 Sep 2011 22:23:09 +0000 (19:23 -0300)
share/hydractl/backup-restore-site

index a7378663f19fc2fe10e6b795c842a722a8da4b42..dddc3c0af76257f9300b8ee02732cbe28319b606 100755 (executable)
@@ -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