debian: T5003: Re-add chown on vyos_bld home directory

Removed accidentally in commit 41033fa
This commit is contained in:
sarthurdev 2023-02-21 17:58:36 +01:00
parent 1ac06d883f
commit dd29ea0bac

View File

@ -24,6 +24,7 @@ if ! grep -q $NEW_GID /etc/group; then
fi fi
useradd --shell /bin/bash --uid $NEW_UID --gid $NEW_GID --non-unique --create-home $USER_NAME useradd --shell /bin/bash --uid $NEW_UID --gid $NEW_GID --non-unique --create-home $USER_NAME
sudo chown $NEW_UID:$NEW_GID /home/$USER_NAME
export HOME=/home/$USER_NAME export HOME=/home/$USER_NAME
if [ "$(id -u)" == "0" ]; then if [ "$(id -u)" == "0" ]; then