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

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
cschantz
2025-11-06 16:03:06 -05:00
parent 8922dcbe05
commit 1d9e30bb54
+2 -2
View File
@@ -226,8 +226,8 @@ echo ""
echo -e "${BOLD}Starting Installation...${NC}" echo -e "${BOLD}Starting Installation...${NC}"
echo "" echo ""
# Create temp directory # Create temp directory (not in /tmp as it may have noexec)
TEMP_DIR="/tmp/acronis-install-$$" TEMP_DIR="/root/acronis-install-$$"
mkdir -p "$TEMP_DIR" mkdir -p "$TEMP_DIR"
cd "$TEMP_DIR" || exit 1 cd "$TEMP_DIR" || exit 1