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
This commit is contained in:
johnysigma 2025-08-04 19:02:57 +03:00
parent 0a0756d4da
commit f470884b42

View File

@ -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"