]> git.pld-linux.org Git - packages/inn.git/blame - inn-setgid.patch
- updated to 2.7.0 (new sonames, configuration changes)
[packages/inn.git] / inn-setgid.patch
CommitLineData
111e750a
JB
1--- inn-2.7.0/lib/newsuser.c.orig 2022-10-10 20:51:16.558836420 +0200
2+++ inn-2.7.0/lib/newsuser.c 2022-10-10 20:57:21.660191829 +0200
3@@ -101,6 +101,8 @@ ensure_news_grp(bool may_setgid)
4 die("must be run as %s group",
5 innconf != NULL ? innconf->runasgroup : RUNASGROUP);
6a4c3728
JB
6 }
7+ const char *runasuser = innconf != NULL ? innconf->runasuser : RUNASUSER;
8+ initgroups(runasuser, gid);
8c29990a
JK
9 }
10
6a4c3728 11 /*
This page took 0.109797 seconds and 4 git commands to generate.