File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed
root/etc/s6-overlay/s6-rc.d/init-jupyterlab Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ services:
77 environment :
88 - PUID=1000
99 - PGID=1000
10+ - UMASK=0002
1011 - TZ=Etc/UTC
1112 - DEFAULT_WORKSPACE=/config/workspace
1213 # TODO: remember define these in .env file
Original file line number Diff line number Diff line change @@ -6,15 +6,23 @@ useradd -d /config/demo -g abc -G users demo
66
77mkdir -p /config/.local/share/jupyter
88chown abc:abc -R /config/.local
9- find /config/.local -type d -exec chmod 775 {} +
9+ find /config/.local -type d -exec chmod g+rwx {} +
10+ find /config/.local -type f -exec chmod g+rw {} +
1011
1112mkdir -p /config/.cache
1213chown abc:abc -R /config/.cache
13- find /config/.cache -type d -exec chmod 775 {} +
14+ find /config/.cache -type d -exec chmod g+rwx {} +
15+ find /config/.cache -type f -exec chmod g+rw {} +
1416
1517mkdir -p /config/.config
1618chown abc:abc -R /config/.config
17- find /config/.config -type d -exec chmod 775 {} +
19+ find /config/.config -type d -exec chmod g+rwx {} +
20+ find /config/.config -type f -exec chmod g+rw {} +
21+
22+ mkdir -p /config/.ipython
23+ chown abc:abc -R /config/.ipython
24+ find /config/.ipython -type d -exec chmod g+rwx {} +
25+ find /config/.ipython -type f -exec chmod g+rw {} +
1826
1927mkdir -p /config/.jupyter
2028chown demo:abc -R /config/.jupyter
You can’t perform that action at this time.
0 commit comments