git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change creation mode of maildir aux files to prevent mode 0000 files. Hardwired...
[exim.git]
/
src
/
src
/
transports
/
tf_maildir.c
diff --git
a/src/src/transports/tf_maildir.c
b/src/src/transports/tf_maildir.c
index 8d926d84fd83f83bfc34f513725be0cda28db8c3..26c999b0ce761a4697a961049b92bbe715cf5809 100644
(file)
--- 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.1
0 2007/01/08 10:50:20 ph10
Exp $ */
+/* $Cambridge: exim/src/src/transports/tf_maildir.c,v 1.1
1 2008/05/16 12:02:19 nm4
Exp $ */
/*************************************************
* Exim - an Internet mail transport agent *
/*************************************************
* Exim - an Internet mail transport agent *
@@
-169,7
+169,7
@@
if (maildirfolder_create_regex != NULL)
}
else
{
}
else
{
- int fd = Uopen(fname, O_WRONLY|O_APPEND|O_CREAT, 0);
+ int fd = Uopen(fname, O_WRONLY|O_APPEND|O_CREAT, 0
600
);
if (fd < 0)
{
addr->message = string_sprintf("appendfile: failed to create "
if (fd < 0)
{
addr->message = string_sprintf("appendfile: failed to create "
@@
-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);
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, 0
600
);
if (fd < 0)
{
if (errno != ENOENT) return -1;
if (fd < 0)
{
if (errno != ENOENT) return -1;