Skip to content

Commit 574e275

Browse files
refactor: allow sandbox to read /tmp.
1 parent 580bc79 commit 574e275

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

installer/Dockerfile-base

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
3030
chmod g-rwx /usr/local/bin/* /usr/bin/* /bin/* /usr/sbin/* /sbin/* /usr/lib/postgresql/17/bin/* && \
3131
chmod g+xr /usr/bin/ld.so /usr/local/bin/python* `which env` && \
3232
chmod -R g-rwx /tmp /var/tmp /var/lock && \
33+
chmod g+r /tmp && \
3334
apt-get clean all && \
3435
rm -rf /var/lib/postgresql /var/lib/apt/lists/* /usr/share/doc/* /usr/share/man/* /usr/share/info/* /usr/share/locale/* /usr/share/lintian/* /usr/share/linda/* /var/cache/* /var/log/* /var/tmp/* /tmp/*
3536
COPY --from=vector-model --chmod=700 /opt/maxkb-app/model /opt/maxkb-app/model

0 commit comments

Comments
 (0)