diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-09-24 05:10:28 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-09-24 05:10:28 +0800 |
commit | 944861b19874e2066c412d1dabf09ce00cc35586 (patch) | |
tree | 0e99c79574cdaf8c1624cdc36cb6a28908f509ca /mail | |
parent | eb2fce3e48d98a4e2c4a148fb772a5e6436d6df9 (diff) | |
download | gsoc2013-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')
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/mail-ops.c | 2 |
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"), |