Update install/production-filesystem/services/scripts/check-root.sh

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
Adam Outler
2025-10-26 12:45:42 -04:00
committed by GitHub
parent 74a67e3b38
commit 15bc1635c2

View File

@@ -20,9 +20,9 @@ if [ "${CURRENT_UID}" -eq 0 ]; then
* Keep the default USER in the image (20211:20211), or
* In docker-compose.yml, remove any 'user:' override that sets UID 0.
Note: As a courtesy, this special mode is only used to set the permissions
of /app/db and /app/config to be owned by the netalertx user so future
runs work correctly.
Note: As a courtesy, this special mode is only used to set the permissions
of /app/db and /app/config to be owned by the netalertx user so future
runs work correctly.
Bottom line: never run security tooling as root unless you are actively
trying to get pwned.