Commit a1fd1f0f authored by intrigeri's avatar intrigeri
Browse files

Give Tor Browser its own $TMPDIR, in its profile directory.

By default, it uses /tmp/, but we want to deny it access to there.

Will-fix: #9558
parent 51c00606
......@@ -59,6 +59,10 @@ start_browser() {
/usr/local/bin/generate-tor-browser-profile
fi
TMPDIR="${PROFILE}/tmp"
mkdir --mode=0700 -p "$TMPDIR"
export TMPDIR
configure_best_tor_browser_locale "${PROFILE}"
# Workaround bug #8036
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment