Commit 357d0c92 authored by Floris Bos's avatar Floris Bos Committed by Thomas Petazzoni
Browse files

lighttpd: run as non-privileged user www-data



Previously the stock lighttpd configuration was patched to run as user root,
because we do not have a lighttpd user.
Patch it to use www-data instead, which is a user available in the default
skeleton, and is the same other webserver packages (like nginx) use.

Signed-off-by: default avatarFloris Bos <bos@je-eigen-domein.nl>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 1a3e74cf
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -51,8 +51,8 @@ diff -Nurp a/doc/config/lighttpd.conf b/doc/config/lighttpd.conf
 ##
-server.username  = "lighttpd"
-server.groupname = "lighttpd"
+# server.username  = "lighttpd"
+# server.groupname = "lighttpd"
+server.username  = "www-data"
+server.groupname = "www-data"
 
 ## 
 ## enable core files.