modify permissons on scripts
Related: PROD-29128
Change-Id: Ie6f5348aefc9f92a1f963980e7d62fbf63b00f2e
(cherry picked from commit a5888584ab0bb8a250141c07150bf70a5594fccc)
diff --git a/xtrabackup/client/restore.sls b/xtrabackup/client/restore.sls
index 6f9250c..5fc4d57 100644
--- a/xtrabackup/client/restore.sls
+++ b/xtrabackup/client/restore.sls
@@ -8,14 +8,14 @@
- name: /usr/local/bin/innobackupex-restore.sh
- source: salt://xtrabackup/files/innobackupex-client-restore.sh
- template: jinja
- - mode: 655
+ - mode: 750
xtrabackup_client_call_restore_script:
file.managed:
- name: /usr/local/bin/innobackupex-restore-call.sh
- source: salt://xtrabackup/files/innobackupex-client-restore-call.sh
- template: jinja
- - mode: 655
+ - mode: 750
- require:
- file: xtrabackup_client_restore_script
diff --git a/xtrabackup/server.sls b/xtrabackup/server.sls
index 75a9b97..33907ed 100644
--- a/xtrabackup/server.sls
+++ b/xtrabackup/server.sls
@@ -75,7 +75,7 @@
- name: /usr/local/bin/innobackupex-runner.sh
- source: salt://xtrabackup/files/innobackupex-server-runner.sh
- template: jinja
- - mode: 655
+ - mode: 750
- require:
- pkg: xtrabackup_server_packages
@@ -104,7 +104,7 @@
- name: /usr/local/bin/innobackupex-restore-call.sh
- source: salt://xtrabackup/files/innobackupex-server-restore-call.sh
- template: jinja
- - mode: 655
+ - mode: 750
- require:
- pkg: xtrabackup_server_packages