mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
debian: T5003: Re-add chown on vyos_bld home directory
Removed accidentally in commit 41033fa
This commit is contained in:
parent
1ac06d883f
commit
dd29ea0bac
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user