Commit 1de4b022 authored by Przemysław Pawełczyk's avatar Przemysław Pawełczyk Committed by Natanael Copa
Browse files

main/lighttpd: Fix lighttpd user's primary group.

During mass .pre-install/upgrade init scripts changes there was a change
not preserving status quo regarding group creation and user creation for
57 packages that weren't using -S option with adduser calls earlier.
It led to not creating the group named like the user and changing
primary user group from the same named to nogroup.

It has been noticed thanks to lighttpd issue (refs #5666) and it has
been partially fixed for lighttpd alone already. This patch completes
the fix and is also an announcement for some mass changes coming later.
parent 5b80bb08
......@@ -3,7 +3,7 @@
pkgdesc="a secure, fast, compliant and very flexible web-server"
......@@ -2,7 +2,7 @@
addgroup -S -g 82 www-data 2>/dev/null
addgroup -S lighttpd 2>/dev/null
adduser -S -D -H -h /var/www/localhost/htdocs -s /sbin/nologin -g lighttpd lighttpd 2>/dev/null
adduser -S -D -H -h /var/www/localhost/htdocs -s /sbin/nologin -G lighttpd -g lighttpd lighttpd 2>/dev/null
addgroup lighttpd www-data 2>/dev/null
exit 0
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment