cache_path = g_build_filename (net->cache_path, subfolder, NULL);
else
cache_path = net->cache_path;
- g_mkdir_with_parents (cache_path, 0755);
+ g_mkdir_with_parents (cache_path, 0700);
#if GLIB_CHECK_VERSION (2, 16, 0)
checksum = g_compute_checksum_for_string (G_CHECKSUM_MD5, uri, -1);
#else
config_path = g_build_filename (g_get_user_config_dir (),
PACKAGE_NAME, NULL);
- g_mkdir_with_parents (config_path, 0755);
+ g_mkdir_with_parents (config_path, 0700);
config_file = g_build_filename (config_path, "session.xbel", NULL);
error = NULL;
if (!katze_array_to_file (session, config_file, &error))
GString* error_messages = g_string_new (NULL);
gchar* config_path = g_build_filename (g_get_user_config_dir (),
PACKAGE_NAME, NULL);
- g_mkdir_with_parents (config_path, 0755);
+ g_mkdir_with_parents (config_path, 0700);
gchar* config_file = g_build_filename (config_path, "config", NULL);
error = NULL;
MidoriWebSettings* settings = settings_new_from_file (config_file);
/* Save configuration files */
config_path = g_build_filename (g_get_user_config_dir (), PACKAGE_NAME,
NULL);
- g_mkdir_with_parents (config_path, 0755);
+ g_mkdir_with_parents (config_path, 0700);
g_object_unref (history);
#ifdef HAVE_SQLITE
g_object_get (settings, "maximum-history-age", &max_history_age, NULL);