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:
Tim Abbott
2016-06-28 12:02:53 -07:00
parent b305af05b3
commit 7ed0ab8c4a
2 changed files with 5 additions and 0 deletions

View File

@@ -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])