]> git.lizzy.rs Git - torbrowser-launcher.git/commitdiff
Do not require the home directory to be writable
authorFliegendeWurst <2012gdwu@web.de>
Wed, 21 Oct 2020 10:02:52 +0000 (12:02 +0200)
committerGitHub <noreply@github.com>
Wed, 21 Oct 2020 10:02:52 +0000 (12:02 +0200)
Missing permissions can be handled later.

torbrowser_launcher/common.py

index 1a05fb48d80baabaafacb0dd786da2ea00e893d7..77fd4cef6624094be401a050e98f1cc27533506c 100644 (file)
@@ -135,8 +135,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)))