From 598bf1426a00c8f58c749f5438411117d72ee81a Mon Sep 17 00:00:00 2001 From: Anup Kumar Date: Wed, 24 Feb 2021 11:33:15 +0000 Subject: [PATCH] Add permissions --- tools/interactive/interactivetool_ml_jupyter_notebook.xml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tools/interactive/interactivetool_ml_jupyter_notebook.xml b/tools/interactive/interactivetool_ml_jupyter_notebook.xml index e56329cdee9..59277509fe6 100644 --- a/tools/interactive/interactivetool_ml_jupyter_notebook.xml +++ b/tools/interactive/interactivetool_ml_jupyter_notebook.xml @@ -27,8 +27,12 @@ ## change into the directory where the notebooks are located cd ./jupyter/ && - export PATH=/home/jovyan/.local/bin:/usr/local/bin:\$PATH && - /usr/local/bin/start-notebook.sh + export PATH=/usr/local/bin:\$PATH && + cp '$__tool_directory__/default_notebook_ml.ipynb' ./ipython_galaxy_notebook_ml.ipynb && + chown -R \$NB_USER `pwd` && + ##chown \$NB_USER ./ipython_galaxy_notebook_ml.ipynb && + jupyter trust ./ipython_galaxy_notebook_ml.ipynb && + /usr/local/bin/start-notebook.sh ##if $mode.mode_select == 'scratch': ## copy default notebook