File tree 1 file changed +5
-5
lines changed 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -66,12 +66,12 @@ 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 && 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 && \
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 && \
73
72
chmod g-x /usr/local/bin/* /usr/bin/* /bin/* /usr/sbin/* /sbin/* /usr/lib/postgresql/15/bin/* && \
74
- chmod g+x /usr/local/bin/python*
73
+ chmod g+x /usr/local/bin/python* && \
74
+ chmod g-r /etc
75
75
76
76
EXPOSE 8080
77
77
You can’t perform that action at this time.
0 commit comments