Login
You're viewing the functional.cafe public feed.
  • Nov 21, 2026, 1:10 AM

    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?

    💬 1🔄 1⭐ 0

Replies

  • Nov 21, 2026, 6:40 AM

    @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.

    💬 1🔄 0⭐ 0
  • Nov 21, 2026, 6:27 PM

    @kurtm Do you run WordPress on the OpenBSD HTTPD? I am having problems with updates when it is not owned by www.

    💬 1🔄 0⭐ 0
  • Nov 22, 2026, 12:01 AM

    @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.

    💬 1🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0