From: FliegendeWurst <2012gdwu@web.de> Date: Wed, 21 Oct 2020 10:02:52 +0000 (+0200) Subject: Do not require the home directory to be writable X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=d6aff5fc7eb1aee8b6394895694957caa5ec40cb;p=torbrowser-launcher.git Do not require the home directory to be writable Missing permissions can be handled later. --- diff --git a/torbrowser_launcher/common.py b/torbrowser_launcher/common.py index 1a05fb4..77fd4ce 100644 --- a/torbrowser_launcher/common.py +++ b/torbrowser_launcher/common.py @@ -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)))