From b955713b4e343efe4fba8617de46366313b3ae5e Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Fri, 31 Aug 2012 21:56:08 +0200 Subject: [PATCH] Ensure temporary folder before viewing source --- midori/midori-view.c | 1 + 1 file changed, 1 insertion(+) diff --git a/midori/midori-view.c b/midori/midori-view.c index 893d0b36..190d273b 100644 --- a/midori/midori-view.c +++ b/midori/midori-view.c @@ -5673,6 +5673,7 @@ midori_view_save_source (MidoriView* view, unique_filename = g_strdup_printf ("%s/%uXXXXXX%s", midori_paths_get_tmp_dir (), g_str_hash (uri), midori_view_fallback_extension (view, extension)); g_free (extension); + katze_mkdir_with_parents (midori_paths_get_tmp_dir (), 0700); fd = g_mkstemp (unique_filename); } else -- 2.39.5