[PATCH] start-stop-daemon cannot set gid

Denis Vlasenko vda.linux at googlemail.com
Mon Feb 26 14:45:37 PST 2007


On Monday 26 February 2007 14:51, Thaddeus Ternes wrote:
> On 2006/7/16, I posted a patch that added chuid support to
> start-stop-daemon.  See this thread for the original patch:
> 
> http://busybox.net/lists/busybox/2006-July/023212.html
> 
> I'm including a modification of that patch to add chgid support as
> well.  The syntax is a bit different the previous proposed patch on
> this thread, but it may be of interest to some.

If there is a "standard" start-stop-daemon (I suppose there is,
but I don't use Debian, so I don't know for sure), it's better
to match it, I think.

With the patch Natanael just tested, bbox ssd supports:

--chuid <user>[:[<group>]]
or
--chuid :<group>

Does this match "standard"? If not, I will gladly take
patches which fix that...
--
vda


More information about the busybox mailing list