Fix installer execution by using /root instead of /tmp

Root cause: /tmp is mounted with noexec flag preventing execution.

Changed TEMP_DIR from /tmp/acronis-install to /root/acronis-install
This allows the installer binary to execute properly.

Verified: mount shows /tmp with noexec option
Solution: Use /root which allows execution
This commit is contained in:
cschantz
2025-11-06 16:03:06 -05:00
parent 29c260e85c
commit 0d82eefb1a
+2 -2
View File
@@ -226,8 +226,8 @@ echo ""
echo -e "${BOLD}Starting Installation...${NC}"
echo ""
# Create temp directory
TEMP_DIR="/tmp/acronis-install-$$"
# Create temp directory (not in /tmp as it may have noexec)
TEMP_DIR="/root/acronis-install-$$"
mkdir -p "$TEMP_DIR"
cd "$TEMP_DIR" || exit 1