mirror of
https://github.com/DeBrosOfficial/network.git
synced 2025-10-06 06:39:07 +00:00
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:
parent
0a0756d4da
commit
f470884b42
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user