aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-07-22 16:24:20 +0200
committerMattias Andrée <maandree@kth.se>2016-07-22 16:24:20 +0200
commitfec04b184bef8a9ad1b35f63dc3fa22571e0f209 (patch)
tree551a6860553069d65c9c72765d2d1ba1b12e4d32 /src
parentadd deps (diff)
downloadcoopgammad-fec04b184bef8a9ad1b35f63dc3fa22571e0f209.tar.gz
coopgammad-fec04b184bef8a9ad1b35f63dc3fa22571e0f209.tar.bz2
coopgammad-fec04b184bef8a9ad1b35f63dc3fa22571e0f209.tar.xz
Dirs are searchable
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--src/servers/kernel.c2
1 files changed, 1 insertions, 1 deletions
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++ = '/';