1
0

Fix home dir permissions on first run for jump-box
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful

This commit is contained in:
2026-09-26 13:59:14 -05:00
parent e534abf096
commit 47c0735345

View File

@@ -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 &