From bab4ea547efeae2d9bd7c0370554f18526caa72e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gardais=20J=C3=A9r=C3=A9my?= Date: Wed, 3 Jul 2019 10:12:46 +0200 Subject: [PATCH] Add +x permissions to the ceph-osd temp script --- ceph/remove.lvm-osd | 1 + 1 file changed, 1 insertion(+) diff --git a/ceph/remove.lvm-osd b/ceph/remove.lvm-osd index c8cabaa..e4576f4 100755 --- a/ceph/remove.lvm-osd +++ b/ceph/remove.lvm-osd @@ -53,6 +53,7 @@ printf '%b\n' "Physical volume to remove : ${REDB}${pv_path}${RESET}" # Generate a temp script with the expected commands rm -rf -- "${temp_script}" touch -- "${temp_script}" +chmod +x -- "${temp_script}" printf '%b\n' "#!/bin/sh" >> "${temp_script}"