diff options
author | Chenthill Palanisamy <pchenthill@novell.com> | 2010-01-30 03:40:36 +0800 |
---|---|---|
committer | Chenthill Palanisamy <pchenthill@novell.com> | 2010-01-30 04:04:00 +0800 |
commit | 1359e1e546de15f3df0b033f58f212414862b0a9 (patch) | |
tree | 3ee614076989d772758e271ba58f170154eb056f /mail/mail-tools.c | |
parent | 960de9e18a044ccf60f8fdcf7cc536cc7b049d33 (diff) | |
download | gsoc2013-evolution-1359e1e546de15f3df0b033f58f212414862b0a9.tar.gz gsoc2013-evolution-1359e1e546de15f3df0b033f58f212414862b0a9.tar.zst gsoc2013-evolution-1359e1e546de15f3df0b033f58f212414862b0a9.zip |
Bug 581604 - Permissions on mail/local folders are too open
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); |