mirror of
https://github.com/DeBrosOfficial/network.git
synced 2025-10-06 13:49: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
|
# 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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user