$NetBSD: patch-ah,v 1.1.1.1 2008/11/15 18:28:56 jmcneill Exp $

--- dispatcher/main.c.orig	2008-11-15 11:13:17.000000000 -0500
+++ dispatcher/main.c
@@ -47,7 +47,7 @@ daemonize (void)
 
   setsid ();
 
-  if ((pidfile_fd = open (LOCALSTATEDIR "/run/system-tools-backends.pid", O_CREAT | O_WRONLY)) != -1)
+  if ((pidfile_fd = open (LOCALSTATEDIR "/run/system-tools-backends.pid", O_CREAT | O_WRONLY, 0600)) != -1)
     {
       str = g_strdup_printf ("%d", getpid ());
       write (pidfile_fd, str, strlen (str));
