Hi Jason,
Thank you for the email.
I basically do everything as root in the wsl (it's a safe environment :D).
I start the server and agent as root (installed gocd as root as well), the
script owner is root ect.
I double checked these and still if I print "whoami" when the script is
executed as a
Hi Andy,
I have never tried running Agents inside WSL (or WSL2) but my guess is that
the script will run as whatever account the Go Agent service runs under.
So if you want the script to run as root there are a few options:
1. Run the Go Agent service as root,
2. Grant the "go" user permission