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: |
47
47
How to create the [hashed password](https://github.com/cdr/code-server/blob/master/docs/FAQ.md#can-i-store-my-password-hashed).
48
48
# changelog
49
49
changelogs :
50
+ - {date: "09.10.24:", desc: "Manage permissions in /config/.ssh according to file type"}
50
51
- {date: "19.08.24:", desc: "Rebase to Ubuntu Noble."}
51
52
- {date: "01.07.23:", desc: "Deprecate armhf. As announced [here](https://www.linuxserver.io/blog/a-farewell-to-arm-hf)"}
52
53
- {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 {} +
31
31
chown abc:abc /config/workspace
32
32
chmod 700 /config/.ssh
33
33
if [[ -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 '{}' \;
35
37
fi
You can’t perform that action at this time.
0 commit comments