From 47c0735345a6e26c57dd2779b6078b1cab910353 Mon Sep 17 00:00:00 2001 From: Garrett Mills Date: Sat, 26 Sep 2026 13:59:14 -0500 Subject: [PATCH] Fix home dir permissions on first run for jump-box --- jump-box/startup.bash | 3 +++ 1 file changed, 3 insertions(+) diff --git a/jump-box/startup.bash b/jump-box/startup.bash index c3bbb68..1ea7ffb 100644 --- a/jump-box/startup.bash +++ b/jump-box/startup.bash @@ -18,6 +18,9 @@ adduser --gid "$TARGET_GID" --uid "$TARGET_UID" --no-create-home "$TARGET_USER" touch /var/log/container-stdout.log chown "$TARGET_USER":"$TARGET_USER" /var/log/container-stdout.log +# This only really matters for the first-run: +chown "$TARGET_USER":"$TARGET_USER" "/home/$TARGET_USER" + echo "Ready." tail -f /var/log/container-stdout.log &