From 944861b19874e2066c412d1dabf09ce00cc35586 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 23 Sep 2002 21:10:28 +0000 Subject: Use 0666 as the create mode so that the user's umask is used to it's 2002-09-23 Jeffrey Stedfast * mail-ops.c (save_part_save): Use 0666 as the create mode so that the user's umask is used to it's fullest. svn path=/trunk/; revision=18182 --- mail/mail-ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mail/mail-ops.c') 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"), -- cgit v1.2.3