~alpine/devel

testing/thttpd: create group v1 PROPOSED

Shiz: 1
 testing/thttpd: create group

 1 files changed, 1 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/devel/patches/978/mbox | git am -3
Learn more about email & git

[alpine-devel] [PATCH] testing/thttpd: create group Export this patch

The pre-install script assumed the thttpd group already exists,
but it doesn't and thus adduser -G thttpd will fail, leading to a cascading
failure in the pre-install script.
---
 testing/thttpd/thttpd.pre-install | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testing/thttpd/thttpd.pre-install b/testing/thttpd/thttpd.pre-install
index 1094a4b..f740838 100644
--- a/testing/thttpd/thttpd.pre-install
+++ b/testing/thttpd/thttpd.pre-install
@@ -1,6 +1,6 @@
#!/bin/sh

addgroup -g 82 -S www-data 2>/dev/null
adduser -S -G thttpd -H -h /var/www/localhost/htdocs -s /sbin/nologin \
adduser -S -H -h /var/www/localhost/htdocs -s /sbin/nologin \
        -D thttpd 2>/dev/null
addgroup thttpd www-data 2>/dev/null
-- 
2.6.0



---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---