diff -u heartbeat-1.2.3/heartbeat/heartbeat.c heartbeat-1.2.3/heartbeat/heartbeat.c --- heartbeat-1.2.3/heartbeat/heartbeat.c +++ heartbeat-1.2.3/heartbeat/heartbeat.c @@ -469,7 +469,7 @@ int ipcid; struct pstat_shm * shm; - if ((ipcid = shmget(IPC_PRIVATE, sizeof(*procinfo), 0666)) < 0) { + if ((ipcid = shmget(IPC_PRIVATE, sizeof(*procinfo), 0600)) < 0) { cl_perror("Cannot shmget for process status"); return; }