Add +x permissions to the ceph-osd temp script
This commit is contained in:
parent
32bab13c7b
commit
bab4ea547e
|
@ -53,6 +53,7 @@ printf '%b\n' "Physical volume to remove : ${REDB}${pv_path}${RESET}"
|
||||||
# Generate a temp script with the expected commands
|
# Generate a temp script with the expected commands
|
||||||
rm -rf -- "${temp_script}"
|
rm -rf -- "${temp_script}"
|
||||||
touch -- "${temp_script}"
|
touch -- "${temp_script}"
|
||||||
|
chmod +x -- "${temp_script}"
|
||||||
|
|
||||||
printf '%b\n' "#!/bin/sh" >> "${temp_script}"
|
printf '%b\n' "#!/bin/sh" >> "${temp_script}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue