File ganglia-monitor-core-umask.patch of Package ganglia-monitor-core

--- lib/daemon_init.c
+++ lib/daemon_init.c
@@ -37,7 +37,9 @@
 
    chdir ("/");			/* change working directory */
 
-   umask (0);			/* clear our file mode creation mask */
+   // umask (0);			/* clear our file mode creation mask */
+   umask (022);     /* keep files on a reasonable umask */
+
 
    for (i = 0; i < MAXFD; i++)
       close (i);
openSUSE Build Service is sponsored by