mirror of
https://github.com/DeBrosOfficial/network.git
synced 2025-10-06 10:19:07 +00:00
Merge branch 'main' of https://git.debros.io/DeBros/network
This commit is contained in:
commit
b9ef151643
@ -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