diff options
Diffstat (limited to 'scripts/install/secure.sh')
-rwxr-xr-x | scripts/install/secure.sh | 2 |
1 files changed, 2 insertions, 0 deletions
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 |