diff options
author | onefang | 2021-09-09 12:47:42 +1000 |
---|---|---|
committer | onefang | 2021-09-09 12:47:42 +1000 |
commit | 97b1909c6b4eba2e0cfa33f2f6c661f82b73b65b (patch) | |
tree | 458f81feadc82b5ca53e7b8ed19617213c990f00 /src | |
parent | Rejig the web stuff. (diff) | |
download | opensim-SC-97b1909c6b4eba2e0cfa33f2f6c661f82b73b65b.zip opensim-SC-97b1909c6b4eba2e0cfa33f2f6c661f82b73b65b.tar.gz opensim-SC-97b1909c6b4eba2e0cfa33f2f6c661f82b73b65b.tar.bz2 opensim-SC-97b1909c6b4eba2e0cfa33f2f6c661f82b73b65b.tar.xz |
Make the web directory world readable.
Diffstat (limited to '')
-rw-r--r-- | src/sledjchisl/sledjchisl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index e5e6460..0bc696b 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c | |||
@@ -8650,7 +8650,7 @@ Copy correct config/config.ini to there. | |||
8650 | tmp = xmprintf("%s/var/www/html", scRoot); | 8650 | tmp = xmprintf("%s/var/www/html", scRoot); |
8651 | if (! qfile_exist(tmp)) | 8651 | if (! qfile_exist(tmp)) |
8652 | { | 8652 | { |
8653 | if (! qfile_mkdir(tmp, S_IRWXU | S_IRGRP | S_IXGRP, true)) C("Unable to create path %s", tmp); | 8653 | if (! qfile_mkdir(tmp, S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH, true)) C("Unable to create path %s", tmp); |
8654 | free(tmp); | 8654 | free(tmp); |
8655 | if (shellMeFail("cp %s/current/example/var/www/html/* %s/var/www/html", scRoot, scRoot)) C("Unable to copy files to %s/var/www/html", scRoot); | 8655 | if (shellMeFail("cp %s/current/example/var/www/html/* %s/var/www/html", scRoot, scRoot)) C("Unable to copy files to %s/var/www/html", scRoot); |
8656 | } | 8656 | } |