Compare commits

...

5 Commits

Author SHA1 Message Date
LinuxServer-CI
b0f61803a2 Bot Updating Templated Files 2024-10-10 16:22:07 +00:00
Adam
1f80e77050 Merge pull request #185 from markagonzales/ssh-perm-changes 2024-10-10 17:20:41 +01:00
Mark Gonzales
e257643459 updates changelog date 2024-10-10 10:41:07 -05:00
Mark Gonzales
c0aa0f7fc4 update readme-vars.yml 2024-09-01 10:42:53 -05:00
Mark Gonzales
7579ec248a changes perms in .ssh to file type 2024-08-31 21:50:18 -05:00
3 changed files with 5 additions and 1 deletions

View File

@@ -307,6 +307,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
## Versions
* **09.10.24:** - Manage permissions in /config/.ssh according to file type
* **19.08.24:** - Rebase to Ubuntu Noble.
* **01.07.23:** - Deprecate armhf. As announced [here](https://www.linuxserver.io/blog/a-farewell-to-arm-hf)
* **05.10.22:** - Install recommended deps to maintain parity with the older images.

View File

@@ -47,6 +47,7 @@ app_setup_block: |
How to create the [hashed password](https://github.com/cdr/code-server/blob/master/docs/FAQ.md#can-i-store-my-password-hashed).
# changelog
changelogs:
- {date: "09.10.24:", desc: "Manage permissions in /config/.ssh according to file type"}
- {date: "19.08.24:", desc: "Rebase to Ubuntu Noble."}
- {date: "01.07.23:", desc: "Deprecate armhf. As announced [here](https://www.linuxserver.io/blog/a-farewell-to-arm-hf)"}
- {date: "05.10.22:", desc: "Install recommended deps to maintain parity with the older images."}

View File

@@ -31,5 +31,7 @@ find /config -path /config/workspace -prune -o -exec chown abc:abc {} +
chown abc:abc /config/workspace
chmod 700 /config/.ssh
if [[ -n "$(ls -A /config/.ssh)" ]]; then
chmod 600 /config/.ssh/*
find /config/.ssh/ -type d -exec chmod 700 '{}' \;
find /config/.ssh/ -type f -exec chmod 600 '{}' \;
find /config/.ssh/ -type f -iname '*.pub' -exec chmod 644 '{}' \;
fi