Update start-notebook.sh

This commit is contained in:
Oliver Köth
2016-06-28 11:16:39 +02:00
committed by GitHub
parent 1d398b5b1b
commit 970985845e

View File

@@ -5,7 +5,7 @@ if [ $UID == 0 ] ; then
# Change UID of NB_USER to NB_UID if it does not match
if [ "$NB_UID" != $(id -u $NB_USER) ] ; then
usermod -u $NB_UID $NB_USER
chown -R $NB_UID $CONDA_DIR
chown -R $NB_UID $CONDA_DIR .
fi
# Enable sudo if requested