aboutsummaryrefslogtreecommitdiff
path: root/share/hydractl/backup-restore-site
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-09-27 19:23:09 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-09-27 19:23:09 -0300
commit8c734ae12e240f4b0fa3c5243722b383e907c74a (patch)
tree9c1352bb2f3c3d8bcd736a40d11e1f7244cd7e44 /share/hydractl/backup-restore-site
parent46540196b2e8303fa8614cfc4f6333a9ecc4f653 (diff)
downloadhydra-8c734ae12e240f4b0fa3c5243722b383e907c74a.tar.gz
hydra-8c734ae12e240f4b0fa3c5243722b383e907c74a.tar.bz2
Fixing files permission
Diffstat (limited to 'share/hydractl/backup-restore-site')
-rwxr-xr-xshare/hydractl/backup-restore-site1
1 files changed, 1 insertions, 0 deletions
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