aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xInstallItAll.sh2
-rwxr-xr-xscripts/install/secure.sh2
2 files changed, 4 insertions, 0 deletions
diff --git a/InstallItAll.sh b/InstallItAll.sh
index 5e19a7d..8f9df11 100755
--- a/InstallItAll.sh
+++ b/InstallItAll.sh
@@ -105,6 +105,8 @@ sudo sed -i "s@MYSQL_PASSWORD@${MYSQL_PASSWORD}@g" ../config/config_IG.ini
105sudo sed -i "s@MYSQL_PASSWORD@${MYSQL_PASSWORD}@g" ../config/config_MG.ini 105sudo sed -i "s@MYSQL_PASSWORD@${MYSQL_PASSWORD}@g" ../config/config_MG.ini
106sudo sed -i "s@MYSQL_PASSWORD@${MYSQL_PASSWORD}@g" ../config/config_localhost.ini 106sudo sed -i "s@MYSQL_PASSWORD@${MYSQL_PASSWORD}@g" ../config/config_localhost.ini
107sudo chmod 600 ../config/*.ini 107sudo chmod 600 ../config/*.ini
108sudo touch ../config/ROBUST/RobustExtra.ini
109sudo chmod 600 ../config/ROBUST/RobustExtra.ini
108 110
109if [ ! -f /home/${OS_USER}/.tmux.conf ]; then 111if [ ! -f /home/${OS_USER}/.tmux.conf ]; then
110 sudo cp scripts/install/opensim.tmux.conf /home/${OS_USER}/.tmux.conf 112 sudo cp scripts/install/opensim.tmux.conf /home/${OS_USER}/.tmux.conf
diff --git a/scripts/install/secure.sh b/scripts/install/secure.sh
index 43ed679..95aae84 100755
--- a/scripts/install/secure.sh
+++ b/scripts/install/secure.sh
@@ -4,6 +4,7 @@ source ../common.sh
4 4
5echo "Securing OpenSim." 5echo "Securing OpenSim."
6sudo chmod 600 ${OS_PATH}/config/*.ini 6sudo chmod 600 ${OS_PATH}/config/*.ini
7sudo chmod 600 ${OS_PATH}/config/ROBUST/*.ini
7sudo chown -R ${OS_USER}:${OS_USER} ${OS_PATH} 8sudo chown -R ${OS_USER}:${OS_USER} ${OS_PATH}
8sudo chmod -R 775 ${OS_PATH} 9sudo chmod -R 775 ${OS_PATH}
9sudo chmod -R a-x ${OS_PATH} 10sudo chmod -R a-x ${OS_PATH}
@@ -18,6 +19,7 @@ sudo chmod a+x ${OS_PATH}/current/scripts/start-sim
18sudo chmod ug+rwx ${OS_PATH}/config 19sudo chmod ug+rwx ${OS_PATH}/config
19sudo chmod g+s ${OS_PATH}/config 20sudo chmod g+s ${OS_PATH}/config
20sudo chmod 600 ${OS_PATH}/config/*.ini 21sudo chmod 600 ${OS_PATH}/config/*.ini
22sudo chmod 600 ${OS_PATH}/config/ROBUST/*.ini
21 23
22chmod ug+rwx ${OS_PATH}/caches 24chmod ug+rwx ${OS_PATH}/caches
23chmod o-rwx ${OS_PATH}/caches 25chmod o-rwx ${OS_PATH}/caches