Changes of Revision 33
[-] [+] | Changed | proftpd.spec |
[-] [+] | Added | proftpd-1.3.2rc2-open.patch ^ |
@@ -0,0 +1,11 @@ +--- contrib/mod_rewrite.c.orig 2008-01-18 20:23:56.000000000 +0100 ++++ contrib/mod_rewrite.c 2008-10-20 21:00:33.000000000 +0200 +@@ -904,7 +904,7 @@ + FALSE); + if (fifo_lockname != NULL) { + /* Make sure the file exists. */ +- fifo_lockfd = open(fifo_lockname, O_CREAT); ++ fifo_lockfd = open(fifo_lockname, O_CREAT, 0600); + if (fifo_lockfd < 0) { + rewrite_log("rewrite_subst_maps_fifo(): error creating '%s': %s", + fifo_lockname, strerror(errno)); |