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.
2 parents 0722ce3 + b0f7dc1 commit 39f51a4Copy full SHA for 39f51a4
install/lib/update.lib.php
@@ -59,6 +59,8 @@ function prepareDBDump() {
59
60
system("mysqldump -h ".escapeshellarg($conf['mysql']['host'])." -u ".escapeshellarg($conf['mysql']['admin_user'])." -c -t --add-drop-table --create-options --quick --result-file=existing_db.sql ".$conf['mysql']['database']);
61
}
62
+ chmod('existing_db.sql', 0400);
63
+ chown('existing_db.sql', 'root');
64
65
/*
66
* If we have a server with nothing in it except VE's then the database of thie server is empty.
0 commit comments