Skip to content

Commit

Permalink
edit: edit DockerFile
Browse files Browse the repository at this point in the history
调试测试环境,限制dockerfile中对应文件的权限
  • Loading branch information
Zherphy committed Dec 9, 2024
1 parent d78e15d commit 76f533b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions DockerFile
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ COPY --chown=BigFiles:group --from=BUILDER /home/scripts/ssh /
RUN chmod +x /port_forward.sh
RUN chmod +x /start.sh
RUN chmod +x /begin.sh
# RUN chmod 305 /etc/ssh/sshd_config
RUN chmod 777 /etc/ssh/sshd_config
RUN chmod 777 /usr/sbin/sshd
RUN chmod 305 /etc/ssh/sshd_config
RUN chmod 305 /etc/ssh/ssh_host_rsa_key
RUN chmod 305 /etc/ssh/ssh_host_ecdsa_key
RUN chmod 305 /etc/ssh/ssh_host_ed25519_key
Expand Down

0 comments on commit 76f533b

Please sign in to comment.