zulip/scripts/lib
Feorlen 6ff78ca0e8 Set umask 022 before starting prod upgrade.
Follow-on from #2373/ PR https://github.com/zulip/zulip/pull/4316, to set an
appropriate umask also when upgrading so files have appropriate permissions.

I've tested this by starting from a clean install, deleting /srv/* so new
files are downloaded, and then doing an upgrade. It worked starting with both
a current version from master and an older release installed with a less
restrictive umask and then the umask changed.

Fixes #2373.
2017-04-19 10:28:06 -07:00
..
__init__.py Factor out venv-creating code from provision.py. 2016-06-21 11:25:41 -07:00
check-upstart install: Add clear error message if upstart is installed on Xenial. 2016-11-29 19:16:26 -08:00
create-production-venv create-production-venv: Fix issues with api/ relative path. 2017-03-25 19:49:26 -07:00
hash_reqs.py Move hash_reqs.py from tools/ to scripts/lib/. 2016-06-22 18:12:08 +05:30
install prod: Ensure the Zulip version of node is installed. 2017-01-06 16:18:29 -08:00
install-node Move tools/setup/install-node to scripts/setup/. 2017-01-06 16:18:29 -08:00
log-management-command dev: Auto-create log directory in management command. 2016-12-17 17:18:49 -08:00
node_cache.py node_cache: Fix buggy production deployment code. 2016-12-08 10:34:04 -08:00
pythonrc.py Add a new statistics/analytics framework. 2016-10-04 17:18:54 -07:00
queue_workers.py queue_workers: Fix confusing --queue_type argument name. 2017-02-22 00:23:26 -08:00
setup-apt-repo Run apt-get update only if sources.list has changed. 2016-10-19 16:23:21 +05:00
setup_path_on_import.py Use zulip-py3-venv when running on Python 3 2016-11-26 13:20:22 -08:00
setup_venv.py setup_venv: Give up if virtualenv-clone isn't working. 2017-01-09 11:21:42 -08:00
unpack-zulip zulip_tools.py: Move zulip_tools.py in scripts/lib. 2016-08-15 16:44:50 -07:00
upgrade-zulip pep8: Fix E225 pep8 violations. 2016-11-28 15:21:15 -08:00
upgrade-zulip-stage-2 Set umask 022 before starting prod upgrade. 2017-04-19 10:28:06 -07:00
zulip_tools.py Fix several new errors caught by mypy 0.501. 2017-03-03 14:12:52 -08:00