Skip to content

Commit

Permalink
Fix permissions on standalone restore
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas North committed Apr 22, 2018
1 parent 37fac75 commit 5978cf6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions functions
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,8 @@ restore_loop() {

rsync -aAXx --exclude wp-config.php --exclude mysqldump.sql "$site"/ "$www_site_dir"

chown -R www-data:www-data "$www_site_dir"

if [ "${enable_le:-null}" = "y" ]
then
echo "${b} Provisioning LetsEncrypt TLS certificate for restored site...${x}"
Expand Down

0 comments on commit 5978cf6

Please sign in to comment.