File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
tutorial/root/etc/s6-overlay/s6-rc.d/init-jupyterlab Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 44# create new demo user for jupyterlab
55useradd -d /config/demo -g abc -G users demo
66
7- mkdir -p /config/.local/share
8- chown abc:abc /config/.local/share
9- chmod 775 /config/.local/share
7+ mkdir -p /config/.local/share/jupyter
8+ chown abc:abc -R /config/.local
9+ chown demo:abc -R /config/.local/share/jupyter
10+
11+ mkdir -p /config/.jupyter
12+ chown demo:abc -R /config/.jupyter
1013
1114mkdir -p /data
1215chown abc:abc /data
@@ -42,9 +45,8 @@ if [ ! -d "${DEST}" ]; then
4245 cp -a --reflink=auto "$SOURCE/.git" "$DEST/"
4346
4447 ln -s "$SOURCE/assets" "$DEST/assets"
45-
46- chown demo:abc -R "${DEST}"
4748fi
49+ chown demo:abc -R "${DEST}"
4850
4951rm -f /config/demo/.jupyter/jupyter_lab_config.py
5052
You can’t perform that action at this time.
0 commit comments