diff --git a/src/python/install.sh b/src/python/install.sh index ead55cc8a..001a03d0d 100755 --- a/src/python/install.sh +++ b/src/python/install.sh @@ -941,6 +941,9 @@ if [ "${INSTALL_JUPYTERLAB}" = "true" ]; then add_user_jupyter_config $CONFIG_DIR $CONFIG_FILE "c.ServerApp.allow_origin = '${CONFIGURE_JUPYTERLAB_ALLOW_ORIGIN}'" add_user_jupyter_config $CONFIG_DIR $CONFIG_FILE "c.NotebookApp.allow_origin = '${CONFIGURE_JUPYTERLAB_ALLOW_ORIGIN}'" + if [ "$INSTALL_UNDER_ROOT" = true ]; then + add_user_jupyter_config $CONFIG_DIR $CONFIG_FILE "c.ServerApp.allow_root = True" + fi fi fi