diff options
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r-- | mail/mail-ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c index aed29afd45..26202e3cfd 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -1898,7 +1898,7 @@ static void save_messages_save(struct _mail_msg *mm) int fd, i; char *from; - fd = open(m->path, O_WRONLY | O_CREAT | O_TRUNC); + fd = open(m->path, O_WRONLY | O_CREAT | O_TRUNC, 0666); if (fd == -1) { camel_exception_setv(&mm->ex, CAMEL_EXCEPTION_SYSTEM, _("Unable to create output file: %s\n %s"), m->path, strerror(errno)); |