aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-ops.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index d94c473a92..6197aa6480 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2002-09-23 Jeffrey Stedfast <fejj@ximian.com>
+
+ * mail-ops.c (save_part_save): Use 0666 as the create mode so that
+ the user's umask is used to it's fullest.
+
2002-09-23 Dan Winship <danw@ximian.com>
* Makefile.am (idldir, idl_DATA): add these and install Mailer.idl
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index 45d8c33864..f00a25f555 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -2035,7 +2035,7 @@ save_part_save (struct _mail_msg *mm)
CamelDataWrapper *data;
const char *charset;
- stream_fs = camel_stream_fs_new_with_name (m->path, O_WRONLY | O_CREAT | O_TRUNC, 0600);
+ stream_fs = camel_stream_fs_new_with_name (m->path, O_WRONLY | O_CREAT | O_TRUNC, 0666);
if (stream_fs == NULL) {
camel_exception_setv (&mm->ex, CAMEL_EXCEPTION_SYSTEM,
_("Cannot create output file: %s:\n %s"),