Scott Blaydessblaydes@bsd.network
Nov 21, 2026, 1:10 AMFor OpenBSD running HTTPD, who should own the files for a web site?
Seen that the HTTPD is run as www, but some howtos have had the ownership as root:wheel.
Which is the best way?
For OpenBSD running HTTPD, who should own the files for a web site?
Seen that the HTTPD is run as www, but some howtos have had the ownership as root:wheel.
Which is the best way?
@sblaydes I've always preferred them to be owned by someone _other_ than the web server. Then, if someone compromises the web server: Congrats! You... can't change anything in the chroot.
@kurtm Do you run WordPress on the OpenBSD HTTPD? I am having problems with updates when it is not owned by www.
@sblaydes I don't. That is the catch. My mentioned method doesn't work if you want the software to be able to update itself.
@kurtm Okay, that is undestandable.
Thanks for the help.