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 0fab3ab commit a70bda6Copy full SHA for a70bda6
1 file changed
bash/ss-sync-staging.txt
@@ -118,7 +118,7 @@ fi
118
## import database ##
119
ss_cp /var/www/backups/mysql/production.sql "${TMP_STAGING_SYNC_SQL}"
120
chown mysql:mysql "${TMP_STAGING_SYNC_SQL}" ## does not matter if -L flag used below
121
-chmod 0644 "${TMP_STAGING_SYNC_SQL}" ## does not matter if -L flag used below
+chmod 0640 "${TMP_STAGING_SYNC_SQL}" ## must be 0640
122
ss_mysql_user staging < "${TMP_STAGING_SYNC_SQL}"
123
124
## fix staging home and siteurl fields (no mass search/replace to avoid potential conflicts) ##
0 commit comments