File glibc-2.7.patch of Package gau
diff -ru gau-0.4.1.orig/modem.c gau-0.4.1/modem.c
--- gau-0.4.1.orig/modem.c 1999-04-06 15:54:58.000000000 +0200
+++ gau-0.4.1/modem.c 2007-12-04 17:08:42.000000000 +0100
@@ -281,7 +281,7 @@
return FALSE;
}
}
- if ((handle = open(s, O_CREAT | O_WRONLY | O_EXCL)) == -1)
+ if ((handle = open(s, O_CREAT | O_WRONLY | O_EXCL, S_IRUSR | S_IWUSR)) == -1)
return FALSE;
fchmod(handle, S_IWRITE | S_IREAD | S_IRGRP | S_IROTH);