From 01ec58dbc57edc522ad192fe7b6d9742cad9e230 Mon Sep 17 00:00:00 2001 From: onefang Date: Thu, 9 Sep 2021 16:42:29 +1000 Subject: TODO-- --- src/sledjchisl/sledjchisl.c | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) (limited to 'src') 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. } free(tmp); -/* TODO - tighten up security. -Make sure correct permissions are set everywhere. - sudo chown -R ${OS_USER}:${OS_USER} ${OS_PATH} tmp = xmprintf("%s/var/backups/Default_Member.IAR", scRoot); if (! qfile_exist(tmp)) shellMeFail("cp %s/current/example/var/backups/* %s/var/backups/ &", scRoot, scRoot); free(tmp); -Create the /opt/opensim-SC directory structure. -. config/config.ini (move that to etc/config.ini later) -. var/backups Copy examples/var/backups/*.IAR files, which are the newbie starter inventories. -. var/cache Think OpenSim creates all the sub directories itself? - ScriptEngines - j2kDecodeCache - maptiles - addin-db-002 Though I think it crashes the first time while creating this? Might be the registry thingy? -- DataSnapshot -- MapImageCache -- MeshCache -- addin-db-001 -- addin-db-003 -- addin-db-004 -- assetcache Obsolete now we are using Linux memory cache? -- bakes -*/ I("Securing directories and files in %s. This might take a while.", scRoot); +// TODO - config/config.ini (move that to etc/config.ini later) if (shellMeFail("chmod u=rw,go= %s/config/*.ini", scRoot)) C("Can't set proper permissions for %s/config*.ini", scRoot); if (shellMeFail("chmod u=rw,go= %s/config/ROBUST/*.ini", scRoot)) C("Can't set proper permissions for %s/config/ROBUST/*.ini", scRoot); 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. } - //////////////////////////////////////////////////////////////////////////////////////////////////// // Other start up stuff. //////////////////////////////////////////////////////////////////////////////////////////////////// -- cgit v1.1