diff options
author | Erich Eckner <git@eckner.net> | 2018-04-18 08:52:58 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-04-18 08:54:27 +0200 |
commit | 89018474081803a70d29dc395203ead76787ce6e (patch) | |
tree | e9a66aa633244f918c62e0cff969cd70a14548d9 /lib | |
parent | 3e405e6527acd005619964d2477c857358c1dab0 (diff) | |
download | builder-89018474081803a70d29dc395203ead76787ce6e.tar.xz |
lib/mysql-functions: chmod go+r on mysql queries in web server directory
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/mysql-functions | 2 |
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" |