File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
root/etc/s6-overlay/s6-rc.d/init-code-server Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ app_setup_block: |
4747 How to create the [hashed password](https://github.com/cdr/code-server/blob/master/docs/FAQ.md#can-i-store-my-password-hashed).
4848# changelog
4949changelogs :
50+ - {date: "09.10.24:", desc: "Manage permissions in /config/.ssh according to file type"}
5051 - {date: "19.08.24:", desc: "Rebase to Ubuntu Noble."}
5152 - {date: "01.07.23:", desc: "Deprecate armhf. As announced [here](https://www.linuxserver.io/blog/a-farewell-to-arm-hf)"}
5253 - {date: "05.10.22:", desc: "Install recommended deps to maintain parity with the older images."}
Original file line number Diff line number Diff line change @@ -31,5 +31,7 @@ find /config -path /config/workspace -prune -o -exec chown abc:abc {} +
3131chown abc:abc /config/workspace
3232chmod 700 /config/.ssh
3333if [[ -n "$(ls -A /config/.ssh)" ]]; then
34- chmod 600 /config/.ssh/*
34+ find /config/.ssh/ -type d -exec chmod 700 '{}' \;
35+ find /config/.ssh/ -type f -exec chmod 600 '{}' \;
36+ find /config/.ssh/ -type f -iname '*.pub' -exec chmod 644 '{}' \;
3537fi
You can’t perform that action at this time.
0 commit comments