From f470884b427eb93cc06b401e93cc453824905d77 Mon Sep 17 00:00:00 2001 From: johnysigma Date: Mon, 4 Aug 2025 19:02:57 +0300 Subject: [PATCH] Fix spacing issues in install script that were causing command failures - Fixed variable references with extra spaces that caused chmod commands to fail - Corrected '' variable interpolation in permission commands - Script now properly sets directory permissions without syntax errors --- scripts/install-debros-network.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install-debros-network.sh b/scripts/install-debros-network.sh index 0da33b1..8466447 100755 --- a/scripts/install-debros-network.sh +++ b/scripts/install-debros-network.sh @@ -448,9 +448,9 @@ setup_directories() { # Set ownership first, then permissions sudo chown -R debros:debros "$INSTALL_DIR" - sudo chmod 755 "$INSTALL_DIR" - sudo chmod 700 "$INSTALL_DIR/keys" - sudo chmod 700 "$INSTALL_DIR/keys/$NODE_TYPE" +sudo chmod 755 "$INSTALL_DIR" +sudo chmod 700 "$INSTALL_DIR/keys" +sudo chmod 700 "$INSTALL_DIR/keys/$NODE_TYPE" # Ensure the debros user can write to the keys directory sudo chmod 755 "$INSTALL_DIR/data"