This commit is contained in:
anonpenguin 2025-08-05 22:28:34 +03:00
commit b9ef151643

View File

@ -448,9 +448,9 @@ setup_directories() {
# Set ownership first, then permissions # Set ownership first, then permissions
sudo chown -R debros:debros "$INSTALL_DIR" sudo chown -R debros:debros "$INSTALL_DIR"
sudo chmod 755 "$INSTALL_DIR" sudo chmod 755 "$INSTALL_DIR"
sudo chmod 700 "$INSTALL_DIR/keys" sudo chmod 700 "$INSTALL_DIR/keys"
sudo chmod 700 "$INSTALL_DIR/keys/$NODE_TYPE" sudo chmod 700 "$INSTALL_DIR/keys/$NODE_TYPE"
# Ensure the debros user can write to the keys directory # Ensure the debros user can write to the keys directory
sudo chmod 755 "$INSTALL_DIR/data" sudo chmod 755 "$INSTALL_DIR/data"