mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-10 03:23:00 +00:00
Squashed commit of the following:
commit2d92977085
Author: Iyán Méndez Veiga <me@iyanmv.com> Date: Tue Aug 21 23:22:35 2018 +0200 Delete code in start.sh (not necessary). Simplify 'os.umask' code. Add paragraph to docs commit19d1e7be71
Author: Iyán Méndez Veiga <me@iyanmv.com> Date: Tue Aug 21 19:03:36 2018 +0200 Change if clause condition commit13802f436c
Author: Iyán Méndez Veiga <me@iyanmv.com> Date: Tue Aug 21 20:24:38 2018 +0200 Update jupyterlab & extensions commit63bdcad837
Author: Iyán Méndez Veiga <me@iyanmv.com> Date: Tue Aug 21 16:21:01 2018 +0200 Fix 'No newline at end of file' commit9504408874
Author: Iyan Méndez Veiga <iyan.mendezveiga@arcelormittal.com> Date: Tue Aug 21 15:37:32 2018 +0200 Fix if clause start.sh commit74da4e07b2
Author: Iyan Méndez Veiga <iyan.mendezveiga@arcelormittal.com> Date: Tue Aug 21 14:52:21 2018 +0200 Add NB_UMASK flag to modify default umask
This commit is contained in:
@@ -37,3 +37,6 @@ if 'GEN_CERT' in os.environ:
|
||||
# Restrict access to the file
|
||||
os.chmod(pem_file, stat.S_IRUSR | stat.S_IWUSR)
|
||||
c.NotebookApp.certfile = pem_file
|
||||
|
||||
# Change default umask if set using flag
|
||||
os.umask(int(os.environ['NB_UMASK'], 8))
|
Reference in New Issue
Block a user