We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a70bda6 commit 094202eCopy full SHA for 094202e
1 file changed
bash/ss-sync-development.txt
@@ -104,7 +104,7 @@ fi
104
## import database ##
105
ss_cp /var/www/backups/mysql/production.sql "${TMP_DEVELOPMENT_SYNC_SQL}"
106
chown mysql:mysql "${TMP_DEVELOPMENT_SYNC_SQL}" ## does not matter if -L flag used below
107
-chmod 0644 "${TMP_DEVELOPMENT_SYNC_SQL}" ## does not matter if -L flag used below
+chmod 0640 "${TMP_DEVELOPMENT_SYNC_SQL}" ## must be 0640
108
ss_mysql_user development < "${TMP_DEVELOPMENT_SYNC_SQL}"
109
110
## fix development home and siteurl fields (no mass search/replace to avoid potential conflicts) ##
0 commit comments