Closed LukeEmmet closed 3 years ago
A recent fix to Go 1.15 is that you can now setuid to run the process as a different user after it has started.
An example implementation is demonstrated by @grufwub in her Gopher/gemini server
https://iim.gay:8080/gophi/tree/core/config.go#n22
see recent branch merge
https://go-review.googlesource.com/c/go/+/210639/
and ticket
https://github.com/golang/go/issues/1435
Closing this issue since the duckling as a proxy is not running any other executables. That might be more of an issue for a general CGI capable server where there is CGI inside user dirs.
A recent fix to Go 1.15 is that you can now setuid to run the process as a different user after it has started.
An example implementation is demonstrated by @grufwub in her Gopher/gemini server
https://iim.gay:8080/gophi/tree/core/config.go#n22