4 ms·
Does Caddy (still) need to run as root?
by chrisweekly 8y ago
Does Caddy (still) need to run as root?
- mholt 8y agoNo program needs to run as root. What are you referring to?
- neilsense 8y agoProbably because it'll bind to low ports. setcap would fix it for OP.
- beardog 8y agoTo my knowledge it never had to run as root. On Linux you just give it permission to bind to low ports: https://stackoverflow.com/a/414258 https://stackoverflow.com/a/414258
- penagwin 8y agoI'm not aware of it needing root unless somebody else can fill me in? Ports under 1024, of course, need either root or setcap but that's not specific to caddy. https://gist.github.com/kennwhite/bcb9e7a5726a74102cc8cae57003e9f4 https://gist.github.com/kennwhite/bcb9e7a5726a74102cc8cae570...