[exim-cvs] cvs commit: exim/exim-src/src/transports tf_maild…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Nigel Metheringham
Dátum:  
Címzett: exim-cvs
Tárgy: [exim-cvs] cvs commit: exim/exim-src/src/transports tf_maildir.c exim/exim-doc/doc-txt ChangeLog
nm4 2008/05/16 13:02:19 BST

  Modified files:
    exim-src/src/transports tf_maildir.c 
    exim-doc/doc-txt     ChangeLog 
  Log:
  Change creation mode of maildir aux files to prevent mode 0000 files.  Hardwired to 0600 as there is no clean place to get parameter mode information.  Fixes: #437


  Revision  Changes    Path
  1.547     +4 -0      exim/exim-doc/doc-txt/ChangeLog
  1.11      +2 -2      exim/exim-src/src/transports/tf_maildir.c


  Index: tf_maildir.c
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/transports/tf_maildir.c,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- tf_maildir.c    8 Jan 2007 10:50:20 -0000    1.10
  +++ tf_maildir.c    16 May 2008 12:02:19 -0000    1.11
  @@ -1,4 +1,4 @@
  -/* $Cambridge: exim/exim-src/src/transports/tf_maildir.c,v 1.10 2007/01/08 10:50:20 ph10 Exp $ */
  +/* $Cambridge: exim/exim-src/src/transports/tf_maildir.c,v 1.11 2008/05/16 12:02:19 nm4 Exp $ */


   /*************************************************
   *     Exim - an Internet mail transport agent    *
  @@ -169,7 +169,7 @@
         }
       else
         {
  -      int fd = Uopen(fname, O_WRONLY|O_APPEND|O_CREAT, 0);
  +      int fd = Uopen(fname, O_WRONLY|O_APPEND|O_CREAT, 0600);
         if (fd < 0)
           {
           addr->message = string_sprintf("appendfile: failed to create "
  @@ -392,7 +392,7 @@
   filename = string_sprintf("%s/maildirsize", path);


   DEBUG(D_transport) debug_printf("looking for maildirsize in %s\n", path);
  -fd = Uopen(filename, O_RDWR|O_APPEND, 0);
  +fd = Uopen(filename, O_RDWR|O_APPEND, 0600);
   if (fd < 0)
     {
     if (errno != ENOENT) return -1;


  Index: ChangeLog
  ===================================================================
  RCS file: /home/cvs/exim/exim-doc/doc-txt/ChangeLog,v
  retrieving revision 1.546
  retrieving revision 1.547
  diff -u -r1.546 -r1.547
  --- ChangeLog    27 Mar 2008 13:23:40 -0000    1.546
  +++ ChangeLog    16 May 2008 12:02:19 -0000    1.547
  @@ -1,4 +1,4 @@
  -$Cambridge: exim/exim-doc/doc-txt/ChangeLog,v 1.546 2008/03/27 13:23:40 tom Exp $
  +$Cambridge: exim/exim-doc/doc-txt/ChangeLog,v 1.547 2008/05/16 12:02:19 nm4 Exp $


Change log file for Exim from version 4.21
-------------------------------------------
@@ -49,6 +49,10 @@

TF/04 Bugzilla 668: Fix parallel build (make -j).

+NM/05 Bugzilla 437: Prevent Maildix aux files being created with mode 000
+
+
+

Exim version 4.69
-----------------