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}"