* add mode_t arg to mu_util_create_dir_maybe, add mu_util_cache_dir
This commit is contained in:
@ -174,7 +174,7 @@ mu_log_init (const char* muhome,
|
||||
g_return_val_if_fail (!MU_LOG, FALSE);
|
||||
g_return_val_if_fail (muhome, FALSE);
|
||||
|
||||
if (!mu_util_create_dir_maybe(muhome)) {
|
||||
if (!mu_util_create_dir_maybe(muhome, 0700)) {
|
||||
g_warning ("failed to init log in %s", muhome);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user