V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m3s

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-09-16 22:26:35 +02:00
parent 1a9923d01a
commit f4556379b3

View File

@@ -200,6 +200,8 @@ EOF
find "${TARGET}/root" -type f -perm /111 -exec chmod 0700 {} + find "${TARGET}/root" -type f -perm /111 -exec chmod 0700 {} +
### Non-executable files: 0600 ### Non-executable files: 0600
find "${TARGET}/root" -type f ! -perm /111 -exec chmod 0600 {} + find "${TARGET}/root" -type f ! -perm /111 -exec chmod 0600 {} +
### Ownership: UID:GID (do not dereference symlinks; stay on this filesystem)
find "${TARGET}/root" -xdev -exec chown -h root:root {} +
### 9) Final status logging. ### 9) Final status logging.
do_log "info" "file_only" "4520() User: 'root' updated." do_log "info" "file_only" "4520() User: 'root' updated."
@@ -415,6 +417,8 @@ EOF
find "${TARGET}/home/${var_username}" -type f -perm /111 -exec chmod 0700 {} + find "${TARGET}/home/${var_username}" -type f -perm /111 -exec chmod 0700 {} +
### Non-executable files: 0600 ### Non-executable files: 0600
find "${TARGET}/home/${var_username}" -type f ! -perm /111 -exec chmod 0600 {} + find "${TARGET}/home/${var_username}" -type f ! -perm /111 -exec chmod 0600 {} +
### Ownership: UID:GID (do not dereference symlinks; stay on this filesystem)
find "${TARGET}/home/${var_username}" -xdev -exec chown -h "${var_uid}:${var_gid}" {} +
### 9) Final status logging. ### 9) Final status logging.
do_log "info" "file_only" "4520() Created user: [${var_username}] UID: [${var_uid}] GID: [${var_gid}]" do_log "info" "file_only" "4520() Created user: [${var_username}] UID: [${var_uid}] GID: [${var_gid}]"
@@ -461,10 +465,9 @@ eza_installer() {
cd ${var_base} cd ${var_base}
git clone https://github.com/eza-community/eza-themes.git git clone https://github.com/eza-community/eza-themes.git
mkdir -p ${var_base}/.config/eza mkdir -p ${var_base}/.config/eza
ln -sf ${var_base}/.ciss/theme_eza_ciss.yml ${var_base}/.config/eza/theme.yml
" "
ln -sf "${TARGET}${var_base}/.ciss/theme_eza_ciss.yml" "${TARGET}${var_base}/.config/eza/theme.yml"
return 0 return 0
} }