diff options
author | Mattias Andrée <maandree@kth.se> | 2016-07-22 16:24:20 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2016-07-22 16:24:20 +0200 |
commit | fec04b184bef8a9ad1b35f63dc3fa22571e0f209 (patch) | |
tree | 551a6860553069d65c9c72765d2d1ba1b12e4d32 /src/servers/kernel.c | |
parent | add deps (diff) | |
download | coopgammad-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 'src/servers/kernel.c')
-rw-r--r-- | src/servers/kernel.c | 2 |
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++ = '/'; |