[PATCH] start-stop-daemon cannot set gid

Natanael Copa natanael.copa at gmail.com
Mon Feb 26 14:06:38 UTC 2007


On Sun, 2007-02-25 at 22:50 +0100, Denis Vlasenko wrote:
> On Sunday 25 February 2007 16:17, Natanael Copa wrote:
> > The attatched patch adds support for group with the --chuid.
> > 
> >   start-stop-daemon --chuid user:group
> > 
> > Patch is against 1.4.1.
> 
> Thanks. I see that we do something similar in chown.
> I want to make this code common.
> 
> Please try attached patch which does that.

Works for me. (I'm using 1.4.1 + patches in production though)

> 
> > btw... the usage message is wrong:
> >  
> >   -U|--chuid <username>|<uid>     Start process with this name
> > 
> > its -c and not -U for --chuid short opt.
> 
> Corrected, along with description.

Thanks!





More information about the busybox mailing list