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
307
307
308
308
# # Versions
309
309
310
+ * ** 13.10.24:** - Ignore dev/cache folders during chown.
310
311
* ** 09.10.24:** - Manage permissions in /config/.ssh according to file type
311
312
* ** 19.08.24:** - Rebase to Ubuntu Noble.
312
313
* ** 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: |
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: "13.10.24:", desc: "Ignore dev/cache folders during chown."}
50
51
- {date: "09.10.24:", desc: "Manage permissions in /config/.ssh according to file type"}
51
52
- {date: "19.08.24:", desc: "Rebase to Ubuntu Noble."}
52
53
- {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
26
26
cp /root/.profile /config/.profile
27
27
fi
28
28
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
32
37
chmod 700 /config/.ssh
33
38
if [[ -n "$(ls -A /config/.ssh)" ]]; then
34
39
find /config/.ssh/ -type d -exec chmod 700 '{}' \;
You can’t perform that action at this time.
0 commit comments