From fec04b184bef8a9ad1b35f63dc3fa22571e0f209 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 22 Jul 2016 16:24:20 +0200 Subject: Dirs are searchable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/servers/kernel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/servers') diff --git a/src/servers/kernel.c b/src/servers/kernel.c index ce3246a..c168467 100644 --- a/src/servers/kernel.c +++ b/src/servers/kernel.c @@ -257,7 +257,7 @@ int create_pidfile(char* pidpath) while ((p = strchr(p, '/'))) { *p = '\0'; - if (mkdir(pidpath, 0644) < 0) + if (mkdir(pidpath, 0755) < 0) if (errno != EEXIST) return -1; *p++ = '/'; -- cgit v1.2.3-70-g09d2