mirror of
https://github.com/zulip/zulip.git
synced 2025-10-27 10:03:56 +00:00
Ensure Zulip virtualenvs are world-readable.
This is important for both ensuring the Nagios checks work correctly in production, as well as making sure the `zulip` user can access the virtualenv (owned by the `travis` user) in Travis CI.
This commit is contained in:
@@ -68,3 +68,4 @@ def do_setup_virtualenv(venv_path, requirements_file, virtualenv_args):
|
||||
|
||||
run(["pip", "install", "--upgrade", "pip"])
|
||||
run(["pip", "install", "--no-deps", "--requirement", requirements_file])
|
||||
run(["sudo", "chmod", "-R", "a+rX", venv_path])
|
||||
|
||||
Reference in New Issue
Block a user