Skip to content

Commit d4bd49b

Browse files
refactor: change dir permission.
1 parent 94af9e4 commit d4bd49b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

installer/Dockerfile-base

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,11 @@ RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
2323
echo "deb http://deb.debian.org/debian testing main" >> /etc/apt/sources.list && \
2424
printf "Package: redis-server\nPin: release a=testing\nPin-Priority: 501\n" > /etc/apt/preferences.d/redis && \
2525
apt-get update && apt-get install -y --no-install-recommends $DEPENDENCIES && \
26-
chmod 755 /usr/bin/start-*.sh && \
2726
find /etc/ -type f ! -path '/etc/resolv.conf' ! -path '/etc/hosts' | xargs chmod g-rx && \
2827
curl -L --connect-timeout 120 -m 1800 https://resource.fit2cloud.com/maxkb/ffmpeg/get-ffmpeg-linux | sh && \
2928
mkdir -p /opt/maxkb-app/sandbox/lib && chmod -R 550 /opt/maxkb-app/sandbox && \
3029
useradd --no-create-home --home /opt/maxkb-app/sandbox sandbox -g root && \
31-
chmod g-xr /usr/local/bin/* /usr/bin/* /bin/* /usr/sbin/* /sbin/* /usr/lib/postgresql/17/bin/* && \
30+
chmod g-rwx /usr/local/bin/* /usr/bin/* /bin/* /usr/sbin/* /sbin/* /usr/lib/postgresql/17/bin/* && \
3231
chmod -R g-rwx /tmp /var/tmp /var/lock && \
3332
apt-get clean all && \
3433
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/*

0 commit comments

Comments
 (0)