diff -up openais-0.80.1/exec/keygen.c.orig openais-0.80.1/exec/keygen.c --- openais-0.80.1/exec/keygen.c.orig 2008-01-21 18:11:54.000000000 -0500 +++ openais-0.80.1/exec/keygen.c 2008-01-21 18:12:03.000000000 -0500 @@ -72,7 +72,7 @@ int main (void) { /* * Open key */ - authkey_fd = open ("/etc/ais/authkey", O_CREAT|O_WRONLY); + authkey_fd = open ("/etc/ais/authkey", O_CREAT|O_WRONLY, 0400); if (authkey_fd == -1) { perror ("Could not create /etc/ais/authkey"); exit (1);