We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2ddf41a + 93a6865 commit 4a6a153Copy full SHA for 4a6a153
base-notebook/start.sh
@@ -55,7 +55,7 @@ if [ "$(id -u)" == 0 ] ; then
55
if [[ ! -e "/home/${NB_USER}" ]]; then
56
echo "Copying home dir to /home/${NB_USER}"
57
mkdir "/home/${NB_USER}"
58
- cp -R /home/jovyan "/home/${NB_USER}" || ln -s /home/jovyan "/home/${NB_USER}"
+ cp -a /home/jovyan/. "/home/${NB_USER}/" || ln -s /home/jovyan "/home/${NB_USER}"
59
fi
60
# if workdir is in /home/jovyan, cd to /home/${NB_USER}
61
if [[ "${PWD}/" == "/home/jovyan/"* ]]; then
0 commit comments