aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/sledjchisl/sledjchisl.c22
1 files changed, 1 insertions, 21 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c
index 7aa3ecc..dd5b926 100644
--- a/src/sledjchisl/sledjchisl.c
+++ b/src/sledjchisl/sledjchisl.c
@@ -8692,32 +8692,13 @@ Copy correct config/config.ini to there.
8692 } 8692 }
8693 free(tmp); 8693 free(tmp);
8694 8694
8695/* TODO - tighten up security.
8696Make sure correct permissions are set everywhere.
8697 sudo chown -R ${OS_USER}:${OS_USER} ${OS_PATH}
8698 tmp = xmprintf("%s/var/backups/Default_Member.IAR", scRoot); 8695 tmp = xmprintf("%s/var/backups/Default_Member.IAR", scRoot);
8699 if (! qfile_exist(tmp)) 8696 if (! qfile_exist(tmp))
8700 shellMeFail("cp %s/current/example/var/backups/* %s/var/backups/ &", scRoot, scRoot); 8697 shellMeFail("cp %s/current/example/var/backups/* %s/var/backups/ &", scRoot, scRoot);
8701 free(tmp); 8698 free(tmp);
8702 8699
8703Create the /opt/opensim-SC directory structure.
8704. config/config.ini (move that to etc/config.ini later)
8705. var/backups Copy examples/var/backups/*.IAR files, which are the newbie starter inventories.
8706. var/cache Think OpenSim creates all the sub directories itself?
8707 ScriptEngines
8708 j2kDecodeCache
8709 maptiles
8710 addin-db-002 Though I think it crashes the first time while creating this? Might be the registry thingy?
8711- DataSnapshot
8712- MapImageCache
8713- MeshCache
8714- addin-db-001
8715- addin-db-003
8716- addin-db-004
8717- assetcache Obsolete now we are using Linux memory cache?
8718- bakes
8719*/
8720 I("Securing directories and files in %s. This might take a while.", scRoot); 8700 I("Securing directories and files in %s. This might take a while.", scRoot);
8701// TODO - config/config.ini (move that to etc/config.ini later)
8721 if (shellMeFail("chmod u=rw,go= %s/config/*.ini", scRoot)) C("Can't set proper permissions for %s/config*.ini", scRoot); 8702 if (shellMeFail("chmod u=rw,go= %s/config/*.ini", scRoot)) C("Can't set proper permissions for %s/config*.ini", scRoot);
8722 if (shellMeFail("chmod u=rw,go= %s/config/ROBUST/*.ini", scRoot)) C("Can't set proper permissions for %s/config/ROBUST/*.ini", scRoot); 8703 if (shellMeFail("chmod u=rw,go= %s/config/ROBUST/*.ini", scRoot)) C("Can't set proper permissions for %s/config/ROBUST/*.ini", scRoot);
8723 if (shellMeFail("chmod u=rw,go= %s/.sledjChisl.conf.lua", scEtc)) C("Can't set proper permissions for %s/.sledjChisl.conf.lua", scEtc); 8704 if (shellMeFail("chmod u=rw,go= %s/.sledjChisl.conf.lua", scEtc)) C("Can't set proper permissions for %s/.sledjChisl.conf.lua", scEtc);
@@ -8765,7 +8746,6 @@ Create the /opt/opensim-SC directory structure.
8765 } 8746 }
8766 8747
8767 8748
8768
8769//////////////////////////////////////////////////////////////////////////////////////////////////// 8749////////////////////////////////////////////////////////////////////////////////////////////////////
8770// Other start up stuff. 8750// Other start up stuff.
8771//////////////////////////////////////////////////////////////////////////////////////////////////// 8751////////////////////////////////////////////////////////////////////////////////////////////////////