Commit 877a95d1 authored by Min RK's avatar Min RK

add JULIA_PKGDIR to chown in start.sh

parent e4c54c90
...@@ -9,7 +9,11 @@ if [ $UID == 0 ] ; then ...@@ -9,7 +9,11 @@ if [ $UID == 0 ] ; then
# Change UID of NB_USER to NB_UID if it does not match # Change UID of NB_USER to NB_UID if it does not match
if [ "$NB_UID" != $(id -u $NB_USER) ] ; then if [ "$NB_UID" != $(id -u $NB_USER) ] ; then
usermod -u $NB_UID $NB_USER usermod -u $NB_UID $NB_USER
chown -R $NB_UID $CONDA_DIR for d in "$CONDA_DIR" "$JULIA_PKGDIR"; do
if [[ ! -z "$d" && -d "$d" ]]; then
chown -R $NB_UID "$d"
fi
done
fi fi
# Change GID of NB_USER to NB_GID if NB_GID is passed as a parameter # Change GID of NB_USER to NB_GID if NB_GID is passed as a parameter
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment