build: Sensitive directory permissions (#3127)

This commit is contained in:
shaohuzhang1 2025-05-21 17:39:09 +08:00 committed by GitHub
parent e5bab10824
commit 187e9c1e4e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -71,7 +71,7 @@ RUN chmod 755 /opt/maxkb/app/installer/run-maxkb.sh && \
chown -R sandbox:root /opt/maxkb/app/sandbox && \
chmod g-x /usr/local/bin/* /usr/bin/* /bin/* /usr/sbin/* /sbin/* /usr/lib/postgresql/15/bin/* && \
chmod g+x /usr/local/bin/python* && \
chmod g-r /etc
chmod g-rx /etc
EXPOSE 8080