aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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++ = '/';