--- /dev/null
+ o Minor bugfixes (sandbox, authority):
+ - With the sandbox enabled, allow to write "my-consensus-{ns|microdesc}" and
+ to rename them as well. Fixes bug 40729; bugfix on 0.3.5.1-alpha.
if (authdir_mode(options)) {
OPEN_DATADIR("approved-routers");
- OPEN_CACHEDIR_SUFFIX("my-consensus-microdesc", ".tmp");
- OPEN_CACHEDIR_SUFFIX("my-consensus-ns", ".tmp");
+ OPEN_DATADIR_SUFFIX("my-consensus-microdesc", ".tmp");
+ OPEN_DATADIR_SUFFIX("my-consensus-ns", ".tmp");
}
if (options->ServerDNSResolvConfFile)
if (options->BridgeAuthoritativeDir)
RENAME_SUFFIX("networkstatus-bridges", ".tmp");
+ if (authdir_mode(options)) {
+ RENAME_SUFFIX("my-consensus-microdesc", ".tmp");
+ RENAME_SUFFIX("my-consensus-ns", ".tmp");
+ }
+
#define STAT_DATADIR(name) \
sandbox_cfg_allow_stat_filename(&cfg, get_datadir_fname(name))