From 89018474081803a70d29dc395203ead76787ce6e Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 18 Apr 2018 08:52:58 +0200 Subject: lib/mysql-functions: chmod go+r on mysql queries in web server directory --- lib/mysql-functions | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib') 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" -- cgit v1.2.3-70-g09d2