* add mode_t arg to mu_util_create_dir_maybe, add mu_util_cache_dir

This commit is contained in:
Dirk-Jan C. Binnema
2011-01-11 00:44:03 +02:00
parent 8eafb2b10a
commit a778d233c0
4 changed files with 26 additions and 17 deletions

View File

@ -52,7 +52,7 @@ static void runtime_free (void);
static gboolean
mu_dir_is_readable_and_writable (const char* muhome)
{
if (mu_util_create_dir_maybe (muhome))
if (mu_util_create_dir_maybe (muhome, 0700))
return TRUE;
g_warning ("cannot use '%s' as a mu homedir", muhome);