diff options
Diffstat (limited to '')
-rwxr-xr-x | InstallItAll.sh | 2 | ||||
-rwxr-xr-x | scripts/install/secure.sh | 2 |
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 | |||
105 | sudo sed -i "s@MYSQL_PASSWORD@${MYSQL_PASSWORD}@g" ../config/config_MG.ini | 105 | sudo sed -i "s@MYSQL_PASSWORD@${MYSQL_PASSWORD}@g" ../config/config_MG.ini |
106 | sudo sed -i "s@MYSQL_PASSWORD@${MYSQL_PASSWORD}@g" ../config/config_localhost.ini | 106 | sudo sed -i "s@MYSQL_PASSWORD@${MYSQL_PASSWORD}@g" ../config/config_localhost.ini |
107 | sudo chmod 600 ../config/*.ini | 107 | sudo chmod 600 ../config/*.ini |
108 | sudo touch ../config/ROBUST/RobustExtra.ini | ||
109 | sudo chmod 600 ../config/ROBUST/RobustExtra.ini | ||
108 | 110 | ||
109 | if [ ! -f /home/${OS_USER}/.tmux.conf ]; then | 111 | if [ ! -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 | ||
5 | echo "Securing OpenSim." | 5 | echo "Securing OpenSim." |
6 | sudo chmod 600 ${OS_PATH}/config/*.ini | 6 | sudo chmod 600 ${OS_PATH}/config/*.ini |
7 | sudo chmod 600 ${OS_PATH}/config/ROBUST/*.ini | ||
7 | sudo chown -R ${OS_USER}:${OS_USER} ${OS_PATH} | 8 | sudo chown -R ${OS_USER}:${OS_USER} ${OS_PATH} |
8 | sudo chmod -R 775 ${OS_PATH} | 9 | sudo chmod -R 775 ${OS_PATH} |
9 | sudo chmod -R a-x ${OS_PATH} | 10 | sudo chmod -R a-x ${OS_PATH} |
@@ -18,6 +19,7 @@ sudo chmod a+x ${OS_PATH}/current/scripts/start-sim | |||
18 | sudo chmod ug+rwx ${OS_PATH}/config | 19 | sudo chmod ug+rwx ${OS_PATH}/config |
19 | sudo chmod g+s ${OS_PATH}/config | 20 | sudo chmod g+s ${OS_PATH}/config |
20 | sudo chmod 600 ${OS_PATH}/config/*.ini | 21 | sudo chmod 600 ${OS_PATH}/config/*.ini |
22 | sudo chmod 600 ${OS_PATH}/config/ROBUST/*.ini | ||
21 | 23 | ||
22 | chmod ug+rwx ${OS_PATH}/caches | 24 | chmod ug+rwx ${OS_PATH}/caches |
23 | chmod o-rwx ${OS_PATH}/caches | 25 | chmod o-rwx ${OS_PATH}/caches |