Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-04-18 08:52:58 +0200
committerErich Eckner <git@eckner.net>2018-04-18 08:54:27 +0200
commit89018474081803a70d29dc395203ead76787ce6e (patch)
treee9a66aa633244f918c62e0cff969cd70a14548d9
parent3e405e6527acd005619964d2477c857358c1dab0 (diff)
lib/mysql-functions: chmod go+r on mysql queries in web server directory
-rwxr-xr-xlib/mysql-functions2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/mysql-functions b/lib/mysql-functions
index e8d8ab9..334ded5 100755
--- a/lib/mysql-functions
+++ b/lib/mysql-functions
@@ -67,6 +67,8 @@ mysql_run_query() {
"${query_stdout}" \
"${query_stderr}" \
"${webserver_directory}/mysql-queries/"
+ find "${webserver_directory}/mysql-queries/" -type f \
+ -exec chmod go+r {} \;
fi
echo 'A mysql query failed.' > \
"${work_dir}/build-master-sanity"