diff options
author | Nigel Metheringham <nigel@exim.org> | 2009-10-19 12:42:13 +0000 |
---|---|---|
committer | Nigel Metheringham <nigel@exim.org> | 2009-10-19 12:42:13 +0000 |
commit | dc988b7ebdcb6229e1c9c5a4682851327bb1ba23 (patch) | |
tree | 036bb6687ee17d3308aa502f7c7abba26f6c03e2 /src | |
parent | d1406d480202b226035e239f74c0dd3c9ea7c3bd (diff) |
Use transport mode as default mode for maildirsize file. Fixes: #727
Diffstat (limited to 'src')
-rw-r--r-- | src/src/transports/tf_maildir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/src/transports/tf_maildir.c b/src/src/transports/tf_maildir.c index 26c999b0c..98862cc90 100644 --- a/src/src/transports/tf_maildir.c +++ b/src/src/transports/tf_maildir.c @@ -1,4 +1,4 @@ -/* $Cambridge: exim/src/src/transports/tf_maildir.c,v 1.11 2008/05/16 12:02:19 nm4 Exp $ */ +/* $Cambridge: exim/src/src/transports/tf_maildir.c,v 1.12 2009/10/19 12:42:13 nm4 Exp $ */ /************************************************* * Exim - an Internet mail transport agent * @@ -392,7 +392,7 @@ the same thing. */ 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, 0600); +fd = Uopen(filename, O_RDWR|O_APPEND, ob->mode ? ob->mode : 0600); if (fd < 0) { if (errno != ENOENT) return -1; |