[PATCH] start-stop-daemon cannot set gid

Denis Vlasenko vda.linux at googlemail.com
Sun Feb 25 13:50:50 PST 2007


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.

> 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.
--
vda
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 4.patch
Type: text/x-diff
Size: 7428 bytes
Desc: not available
Url : http://busybox.net/lists/busybox/attachments/20070225/c467db28/attachment.bin 


More information about the busybox mailing list