http://bugs.gentoo.org/232081 diff -Nru /var/tmp/portage/sys-devel/gettext-0.17-r1/work/gettext-0.17/gettext-tools/src/write-catalog.c /root/hardened/gettext-0.17/gettext-tools/src/write-catalog.c --- /gettext-0.17/gettext-tools/src/write-catalog.c 2007-10-07 21:37:39.000000000 +0200 +++ /gettext-0.17/gettext-tools/src/write-catalog.c 2008-06-16 00:28:11.000000000 +0200 @@ -220,7 +220,7 @@ /* Open the output file. */ if (!to_stdout) { - fd = open (filename, O_WRONLY | O_CREAT); + fd = open (filename, O_WRONLY | O_CREAT, S_IRUSR|S_IWUSR); if (fd < 0) { const char *errno_description = strerror (errno);