aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-09-24 05:10:28 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-09-24 05:10:28 +0800
commit944861b19874e2066c412d1dabf09ce00cc35586 (patch)
tree0e99c79574cdaf8c1624cdc36cb6a28908f509ca /mail/mail-ops.c
parenteb2fce3e48d98a4e2c4a148fb772a5e6436d6df9 (diff)
downloadgsoc2013-evolution-944861b19874e2066c412d1dabf09ce00cc35586.tar
gsoc2013-evolution-944861b19874e2066c412d1dabf09ce00cc35586.tar.gz
gsoc2013-evolution-944861b19874e2066c412d1dabf09ce00cc35586.tar.bz2
gsoc2013-evolution-944861b19874e2066c412d1dabf09ce00cc35586.tar.lz
gsoc2013-evolution-944861b19874e2066c412d1dabf09ce00cc35586.tar.xz
gsoc2013-evolution-944861b19874e2066c412d1dabf09ce00cc35586.tar.zst
gsoc2013-evolution-944861b19874e2066c412d1dabf09ce00cc35586.zip
Use 0666 as the create mode so that the user's umask is used to it's
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. svn path=/trunk/; revision=18182
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r--mail/mail-ops.c2
1 files changed, 1 insertions, 1 deletions
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"),