From 77fd797019fc040c1ea4f4330242bd823af312da Mon Sep 17 00:00:00 2001 From: Babak Farrokhi Date: Tue, 16 Aug 2016 11:24:31 +0430 Subject: [PATCH] Fix pid file permission --- fsipd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fsipd.c b/fsipd.c index 57eeb64..4b50653 100644 --- a/fsipd.c +++ b/fsipd.c @@ -418,7 +418,7 @@ daemon_start() pthread_t tcp6_thread, udp6_thread; /* Check if we can acquire the pid file */ - pfh = pidfile_open(NULL, 0600, &otherpid); + pfh = pidfile_open(NULL, 0644, &otherpid); if (pfh == NULL) { if (errno == EEXIST) {