[epiphany] Revert "Ensure directories are created before sandbox is initialized"
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Revert "Ensure directories are created before sandbox is initialized"
- Date: Mon, 1 Jul 2019 19:02:01 +0000 (UTC)
commit dd021bedc6a3dae42e2881a5077720a8fff764b9
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Mon Jul 1 14:01:08 2019 -0500
Revert "Ensure directories are created before sandbox is initialized"
This reverts commit 2f51e6b45d17a87dc6293bd1d859505d9bb1411f.
lib/ephy-file-helpers.c | 1 -
src/ephy-main.c | 4 ++--
2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/lib/ephy-file-helpers.c b/lib/ephy-file-helpers.c
index a2c11f9b5..a06f271cd 100644
--- a/lib/ephy-file-helpers.c
+++ b/lib/ephy-file-helpers.c
@@ -417,7 +417,6 @@ 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) {
diff --git a/src/ephy-main.c b/src/ephy-main.c
index 516f46556..bc362d8c1 100644
--- a/src/ephy-main.c
+++ b/src/ephy-main.c
@@ -317,8 +317,8 @@ main (int argc,
if (incognito_mode && profile_directory == NULL)
profile_directory = ephy_default_profile_dir ();
- /* Required for bubblewrap sandbox. */
- flags = EPHY_FILE_HELPERS_ENSURE_EXISTS;
+ /* Start our services */
+ flags = !application_mode ? EPHY_FILE_HELPERS_ENSURE_EXISTS : 0;
if (incognito_mode || private_instance || application_mode || automation_mode)
flags |= EPHY_FILE_HELPERS_PRIVATE_PROFILE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]