From 626a24d13ac3571b068302558868ca1658a5508f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Mon, 24 Jun 2024 09:02:24 +0200 Subject: [PATCH] Fix the selinux context of the copied files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aurélien Bompard --- roles/batcave/files/make-rabbitmq-certs-public.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/batcave/files/make-rabbitmq-certs-public.sh b/roles/batcave/files/make-rabbitmq-certs-public.sh index be22ab22fe..0c8d54bd43 100644 --- a/roles/batcave/files/make-rabbitmq-certs-public.sh +++ b/roles/batcave/files/make-rabbitmq-certs-public.sh @@ -17,4 +17,5 @@ for env in staging production; do exp_date=`openssl x509 -enddate -noout -dateopt iso_8601 -in $cert | cut -d= -f2` echo -e "$name\t$exp_date" >> ${dest_dir}/${EXPIRATION_FILE} done + chcon -t httpd_sys_content_t -R ${dest_dir} done