diff options
author | Floris Bos <bos@je-eigen-domein.nl> | 2015-04-30 18:12:16 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-05-01 09:38:28 +0200 |
commit | 357d0c92a28b1e9255bdba45b38c4b63f3d6ea61 (patch) | |
tree | de0cd5f932bdac7a75028c9c5a2f5353d3967961 | |
parent | 1a3e74cf5af734649852a218ec548d48cffa5d2d (diff) | |
download | buildroot-357d0c92a28b1e9255bdba45b38c4b63f3d6ea61.tar.gz buildroot-357d0c92a28b1e9255bdba45b38c4b63f3d6ea61.zip |
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: Floris Bos <bos@je-eigen-domein.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r-- | package/lighttpd/0001-Fix-default-config-file.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/lighttpd/0001-Fix-default-config-file.patch b/package/lighttpd/0001-Fix-default-config-file.patch index 88d2c6f333..bffc2a8ed3 100644 --- a/package/lighttpd/0001-Fix-default-config-file.patch +++ b/package/lighttpd/0001-Fix-default-config-file.patch @@ -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. |