diff options
Diffstat (limited to 'mail/mail-tools.c')
-rw-r--r-- | mail/mail-tools.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-tools.c b/mail/mail-tools.c index 8259abd6c9..9e268d85cf 100644 --- a/mail/mail-tools.c +++ b/mail/mail-tools.c @@ -119,7 +119,7 @@ mail_tool_get_local_movemail_path (const guchar *uri, CamelException *ex) data_dir = mail_session_get_data_dir (); path = g_build_filename (data_dir, "spool", NULL); - if (g_stat(path, &st) == -1 && g_mkdir_with_parents(path, 0777) == -1) { + if (g_stat(path, &st) == -1 && g_mkdir_with_parents(path, 0700) == -1) { camel_exception_setv(ex, CAMEL_EXCEPTION_SYSTEM, _("Could not create spool directory `%s': %s"), path, g_strerror(errno)); g_free(path); |