kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 06abae39676241f1d81b6c49198fded06330f573
parent cc6a424a821e44e8f524e6c03a3f7071575f0bb2
Author: Thordur Bjornsson <thorduri@secnorth.net>
Date:   Tue, 19 Nov 2013 17:27:14 +0100

The access log need not be executable.

While there use the nice defines rather then straight up mode
numbers.

Diffstat:
src/config.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/config.c b/src/config.c @@ -403,7 +403,8 @@ configure_accesslog(char **argv) } current_domain->accesslog = open(argv[1], - O_CREAT | O_APPEND | O_WRONLY, 0755); + O_CREAT | O_APPEND | O_WRONLY, + S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); if (current_domain->accesslog == -1) { kore_debug("open(%s): %s", argv[1], errno_s); return (KORE_RESULT_ERROR);