summaryrefslogtreecommitdiff
path: root/src/app/main/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/main/main.c')
-rw-r--r--src/app/main/main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/app/main/main.c b/src/app/main/main.c
index b73d722963..7fb92c59db 100644
--- a/src/app/main/main.c
+++ b/src/app/main/main.c
@@ -922,8 +922,11 @@ sandbox_init_filter(void)
if (options->BridgeAuthoritativeDir)
OPEN_DATADIR_SUFFIX("networkstatus-bridges", ".tmp");
- if (authdir_mode(options))
+ if (authdir_mode(options)) {
OPEN_DATADIR("approved-routers");
+ OPEN_CACHEDIR_SUFFIX("my-consensus-microdesc", ".tmp");
+ OPEN_CACHEDIR_SUFFIX("my-consensus-ns", ".tmp");
+ }
if (options->ServerDNSResolvConfFile)
sandbox_cfg_allow_open_filename(&cfg,