Fix ssh key permission error

This commit is contained in:
Manuel Thalmann 2024-12-11 01:17:54 +01:00
parent cf717d7a50
commit 56f7f4228b

View file

@ -70,8 +70,9 @@ begin
yq "$envKey.USER_GID = $gid" |
sudo tee "$config" >/dev/null
sudo mkdir -p "$dir"
and sudo mkdir -p "$dir"
and sudo chown -R $uid:$gid "$dir"
and sudo -u "#$uid" mkdir -p ~"$user"/.ssh
rm "$file"
set port (yq (getSSHPortKey) "$overrides" | extractPort)