GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still and

Commit fa4e114a authored by Georg Koppen's avatar Georg Koppen
Browse files

fixup! Bug 14272: Make Tor Launcher work with Unix Domain Socket option

Permissions for the Tor data directory are too permissive for control
sockets. We adapt them (and those for creating files) to the ones used
for Linux bundles by default. This fixes: #20076 and #20075 as FileUtils
is not needed anymore (and hence can't be missing in tl-utils.jsm).
parent 32ddac70
......@@ -16,8 +16,6 @@ XPCOMUtils.defineLazyModuleGetter(this, "TorLauncherUtil",
XPCOMUtils.defineLazyModuleGetter(this, "TorLauncherLogger",
XPCOMUtils.defineLazyModuleGetter(this, "FileUtils",
function TorProcessService()
......@@ -513,9 +513,9 @@ let TorLauncherUtil = // Public
if ("tordatadir" == aTorFileType)
f.create(f.DIRECTORY_TYPE, 0700);
f.create(f.NORMAL_FILE_TYPE, FileUtils.PERMS_FILE);
f.create(f.NORMAL_FILE_TYPE, 0600);
catch (e)
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