openbsd-ports/www/sthttpd/patches/patch-src_thttpd_h

13 lines
512 B
Plaintext
Raw Normal View History

$OpenBSD: patch-src_thttpd_h,v 1.1.1.1 2013/08/10 02:48:26 brad Exp $
--- src/thttpd.h.orig Sun Aug 5 04:59:29 2012
+++ src/thttpd.h Sun Aug 5 04:59:46 2012
@@ -237,7 +237,7 @@
** initializing. If this user (or the one specified by the -u flag) does
** not exist, the program will refuse to run.
*/
-#define DEFAULT_USER "nobody"
+#define DEFAULT_USER "www"
/* CONFIGURE: When started as root, the program can automatically chdir()
** to the home directory of the user specified by -u or DEFAULT_USER.