summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@igalia.com>2019-06-24 11:17:53 -0500
committerMichael Catanzaro <mcatanzaro@posteo.net>2019-06-30 14:15:15 +0000
commit2f51e6b45d17a87dc6293bd1d859505d9bb1411f (patch)
treed93aacae6786b6146dc0049e2bacc8a69ed40404 /lib
parent8d768e0c159da29d3677f5920bae347c8ed597f8 (diff)
downloadepiphany-2f51e6b45d17a87dc6293bd1d859505d9bb1411f.tar.gz
Ensure directories are created before sandbox is initialized
Anything that doesn't exist at process launch time will not be mounted in the sandbox.
Diffstat (limited to 'lib')
-rw-r--r--lib/ephy-file-helpers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ephy-file-helpers.c b/lib/ephy-file-helpers.c
index a06f271cd..a2c11f9b5 100644
--- a/lib/ephy-file-helpers.c
+++ b/lib/ephy-file-helpers.c
@@ -417,6 +417,7 @@ ephy_file_helpers_init (const char *profile_dir,
ret = ephy_ensure_dir_exists (ephy_profile_dir (), error);
ephy_ensure_dir_exists (ephy_cache_dir (), NULL);
ephy_ensure_dir_exists (ephy_config_dir (), NULL);
+ ephy_ensure_dir_exists (ephy_file_tmp_dir (), NULL);
}
if (steal_data_from_profile && profile_dir) {