Deploy: Set mode=0755 when creating /opt/infection-monkey/bin/

This commit is contained in:
Mike Salvatore 2022-04-10 14:45:58 -04:00
parent c8e4a4f0ef
commit 1be6de0bd8
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ uninstall_service() {
}
move_appimage() {
sudo mkdir -p "${MONKEY_BIN}"
sudo mkdir --mode=0755 -p "${MONKEY_BIN}"
if [ "$1" != "${MONKEY_BIN}/${APPIMAGE_NAME}" ] ; then
umask 022