File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed
root/etc/s6-overlay/s6-rc.d/init-code-server Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -307,6 +307,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
307307
308308# # Versions
309309
310+ * ** 13.10.24:** - Ignore dev/cache folders during chown.
310311* ** 09.10.24:** - Manage permissions in /config/.ssh according to file type
311312* ** 19.08.24:** - Rebase to Ubuntu Noble.
312313* ** 01.07.23:** - Deprecate armhf. As announced [here](https://www.linuxserver.io/blog/a-farewell-to-arm-hf)
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: "13.10.24:", desc: "Ignore dev/cache folders during chown."}
5051 - {date: "09.10.24:", desc: "Manage permissions in /config/.ssh according to file type"}
5152 - {date: "19.08.24:", desc: "Rebase to Ubuntu Noble."}
5253 - {date: "01.07.23:", desc: "Deprecate armhf. As announced [here](https://www.linuxserver.io/blog/a-farewell-to-arm-hf)"}
Original file line number Diff line number Diff line change @@ -26,9 +26,14 @@ if [[ ! -f /config/.profile ]]; then
2626 cp /root/.profile /config/.profile
2727fi
2828
29- # fix permissions (ignore contents of /config/workspace)
30- find /config -path /config/workspace -prune -o -exec chown abc:abc {} +
31- chown abc:abc /config/workspace
29+ # fix permissions (ignore contents of workspace and cache folders)
30+ find /config \
31+ -path "/config/workspace" -prune -o \
32+ -path "/config/.npm" -prune -o \
33+ -path "/config/.rustup" -prune -o \
34+ -path "/config/.cargo" -prune -o \
35+ -exec lsiown abc:abc {} +
36+ lsiown abc:abc /config/workspace
3237chmod 700 /config/.ssh
3338if [[ -n "$(ls -A /config/.ssh)" ]]; then
3439 find /config/.ssh/ -type d -exec chmod 700 '{}' \;
You can’t perform that action at this time.
0 commit comments