]> git.lizzy.rs Git - torbrowser-launcher.git/commitdiff
Merge pull request #537 from FliegendeWurst/patch-1
authorMicah Lee <micah@micahflee.com>
Fri, 18 Jun 2021 21:45:16 +0000 (17:45 -0400)
committerGitHub <noreply@github.com>
Fri, 18 Jun 2021 21:45:16 +0000 (17:45 -0400)
Do not require the home directory to be writable

torbrowser_launcher/common.py

index 757f4a124f4d4c5dc5c316b1e3def4f6c96e513a..55f11ee3eb20680962efbdf60fa0c5b9228da4ca 100644 (file)
@@ -146,8 +146,6 @@ class Common(object):
                     self.set_gui(
                         "error", _("Error creating {0}").format(homedir), [], False
                     )
-        if not os.access(homedir, os.W_OK):
-            self.set_gui("error", _("{0} is not writable").format(homedir), [], False)
 
         tbb_config = '{0}/torbrowser'.format(self.get_env('XDG_CONFIG_HOME', '{0}/.config'.format(homedir)))
         tbb_cache = '{0}/torbrowser'.format(self.get_env('XDG_CACHE_HOME', '{0}/.cache'.format(homedir)))