diff --git a/scripts/Common/Software/docker/services/forgejo/main.fish b/scripts/Common/Software/docker/services/forgejo/main.fish index 0e453e1d..7806187d 100755 --- a/scripts/Common/Software/docker/services/forgejo/main.fish +++ b/scripts/Common/Software/docker/services/forgejo/main.fish @@ -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)