From 97b1909c6b4eba2e0cfa33f2f6c661f82b73b65b Mon Sep 17 00:00:00 2001 From: onefang Date: Thu, 9 Sep 2021 12:47:42 +1000 Subject: Make the web directory world readable. --- src/sledjchisl/sledjchisl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. tmp = xmprintf("%s/var/www/html", scRoot); if (! qfile_exist(tmp)) { - if (! qfile_mkdir(tmp, S_IRWXU | S_IRGRP | S_IXGRP, true)) C("Unable to create path %s", tmp); + if (! qfile_mkdir(tmp, S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH, true)) C("Unable to create path %s", tmp); free(tmp); 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); } -- cgit v1.1