File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -66,9 +66,10 @@ RUN chmod 755 /opt/maxkb/app/installer/run-maxkb.sh && \
66
66
curl -L --connect-timeout 120 -m 1800 https://resource.fit2cloud.com/maxkb/ffmpeg/get-ffmpeg-linux | sh && \
67
67
mkdir -p /opt/maxkb/app/sandbox/python-packages && \
68
68
find /opt/maxkb/app -mindepth 1 -not -name 'sandbox' -exec chmod 700 {} + && \
69
- chmod 755 /tmp && \
70
- useradd --no-create-home --home /opt/maxkb/app/sandbox sandbox -g root && \
71
- chown -R sandbox:root /opt/maxkb/app/sandbox && \
69
+ chmod 755 /tmp && chmod 750 /etc &&\
70
+ groupadd sandbox &&\
71
+ useradd --no-create-home --home /opt/maxkb/app/sandbox sandbox -g sandbox && \
72
+ chown -R sandbox:sandbox /opt/maxkb/app/sandbox && \
72
73
chmod g-x /usr/local/bin/* /usr/bin/* /bin/* /usr/sbin/* /sbin/* /usr/lib/postgresql/15/bin/* && \
73
74
chmod g+x /usr/local/bin/python*
74
75
You can’t perform that action at this time.
0 commit comments